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

This commit is contained in:
Sarah Wooders
2024-01-23 14:08:52 -08:00
committed by GitHub
parent c29f9607ab
commit 69997caa3d

View File

@@ -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")