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:
commit
5a7b0d4985
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ def get_cognee_version() -> str:
|
||||||
.strip("'\"\n ")
|
.strip("'\"\n ")
|
||||||
)
|
)
|
||||||
# Mark the version as a local Cognee library by appending “-dev”
|
# Mark the version as a local Cognee library by appending “-dev”
|
||||||
return f"{version}-dev"
|
return f"{version}-local"
|
||||||
try:
|
try:
|
||||||
return importlib.metadata.version("cognee")
|
return importlib.metadata.version("cognee")
|
||||||
except importlib.metadata.PackageNotFoundError:
|
except importlib.metadata.PackageNotFoundError:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue