Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

Merge branch 'main' into 0.8.9-release-2

Andy Li72e02a283914
diff --cc letta/__init__.py
index 46e8a36e5,c8f0af792..5446b2d31
--- a/letta/__init__.py
+++ b/letta/__init__.py
@@@ -1,12 -1,8 +1,13 @@@
import os
+from importlib.metadata import PackageNotFoundError, version
-__version__ = "0.8.8"
+try:
+ __version__ = version("letta")
+except PackageNotFoundError:
+ # Fallback for development installations
+ __version__ = "0.8.9"
+
if os.environ.get("LETTA_VERSION"):
__version__ = os.environ["LETTA_VERSION"]