refactor: Name local cognee version local instead of dev (#1032)

<!-- .github/pull_request_template.md -->

## Description
Change Cognee extracted version info when used locally from dev to local

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
This commit is contained in:
Igor Ilic 2025-07-01 10:30:07 +02:00 committed by GitHub
commit 5a7b0d4985
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ def get_cognee_version() -> str:
.strip("'\"\n ")
)
# Mark the version as a local Cognee library by appending “-dev”
return f"{version}-dev"
return f"{version}-local"
try:
return importlib.metadata.version("cognee")
except importlib.metadata.PackageNotFoundError: