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.

fix: use path `~/.memgpt/sqlite.db` for both recall/metadata storage (#913)

Sarah Wooders69997caa3d24
diff --git a/memgpt/agent_store/db.py b/memgpt/agent_store/db.py
index 820f7c8ac..87fefe0c0 100644
--- a/memgpt/agent_store/db.py
+++ b/memgpt/agent_store/db.py
@@ -479,7 +479,7 @@ class SQLLiteStorageConnector(SQLStorageConnector):
else:
raise ValueError(f"Table type {table_type} not implemented")
- self.path = os.path.join(self.path, f"{self.table_name}.db")
+ self.path = os.path.join(self.path, f"sqlite.db")
# Create the SQLAlchemy engine
self.db_model = get_db_model(config, self.table_name, table_type, user_id, agent_id, dialect="sqlite")