Fix mem0-migrations issue (#2597)

This commit is contained in:
Dev Khant
2025-05-01 01:14:57 +05:30
committed by GitHub
parent 0fce700e65
commit ad98f542f8
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ class Memory(MemoryBase):
self.graph = MemoryGraph(self.config)
self.enable_graph = True
self.config.vector_store.config.collection_name = "mem0-migrations"
self.config.vector_store.config.collection_name = "mem0migrations"
if self.config.vector_store.provider in ["faiss", "qdrant"]:
provider_path = f"migrations_{self.config.vector_store.provider}"
self.config.vector_store.config.path = os.path.join(mem0_dir, provider_path)