mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-21 09:28:39 +00:00
fix(agent): Fix long-term memory error
This commit is contained in:
@@ -142,7 +142,7 @@ class MultiAgents(BaseComponent, ABC):
|
||||
).create()
|
||||
|
||||
storage_manager = StorageManager.get_instance(self.system_app)
|
||||
index_name = "_agent_memory_"
|
||||
index_name = "agent_memory_long_term"
|
||||
vector_store = storage_manager.create_vector_store(index_name=index_name)
|
||||
if not vector_store.vector_name_exists():
|
||||
vector_store.create_collection(collection_name=index_name)
|
||||
|
Reference in New Issue
Block a user