Fix bug about MemoryGraph can't find (#1810)

This commit is contained in:
Yuhang
2024-09-05 00:54:11 +08:00
committed by GitHub
parent 23e2ed2163
commit c674625e88

View File

@@ -41,7 +41,7 @@ class Memory(MemoryBase):
self.enable_graph = False
if self.version == "v1.1" and self.config.graph_store.config:
from mem0.memory.main_graph import MemoryGraph
from mem0.memory.graph_memory import MemoryGraph
self.graph = MemoryGraph(self.config)
self.enable_graph = True