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.graph = MemoryGraph(self.config)
self.enable_graph = True 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"]: if self.config.vector_store.provider in ["faiss", "qdrant"]:
provider_path = f"migrations_{self.config.vector_store.provider}" provider_path = f"migrations_{self.config.vector_store.provider}"
self.config.vector_store.config.path = os.path.join(mem0_dir, provider_path) self.config.vector_store.config.path = os.path.join(mem0_dir, provider_path)

View File

@@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "mem0ai" name = "mem0ai"
version = "0.1.94" version = "0.1.95"
description = "Long-term memory for AI Agents" description = "Long-term memory for AI Agents"
authors = ["Mem0 <founders@mem0.ai>"] authors = ["Mem0 <founders@mem0.ai>"]
exclude = [ exclude = [