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.

include cli hotfix changes

Vivian Fangaba4057fae92
diff --git a/memgpt/main.py b/memgpt/main.py
index 5c0f9fb0c..2ef440eb5 100644
--- a/memgpt/main.py
+++ b/memgpt/main.py
@@ -242,8 +242,9 @@ async def main(
memgpt_persona,
human_persona,
load_type="folder",
- archival_storage_index=archival_storage_index,
- compute_embeddings=False,
+ archival_storage_files=archival_storage_faiss_path,
+ archival_storage_index=archival_storage_faiss_path,
+ compute_embeddings=True,
)
elif archival_storage_files_compute_embeddings:
print(model)
@@ -313,7 +314,7 @@ async def main(
)
return
- if cfg.archival_storage_index:
+ if cfg.index:
persistence_manager = InMemoryStateManagerWithFaiss(
cfg.index, cfg.archival_database
)