This commit is contained in:
Xie Yanbo
2024-08-02 03:33:24 +08:00
committed by GitHub
parent b386e24f5d
commit 12a4934112

View File

@@ -327,7 +327,7 @@ class Memory(MemoryBase):
Returns:
dict: Updated memory.
"""
capture_event("mem0.get_all", self, {"memory_id": memory_id})
capture_event("mem0.update", self, {"memory_id": memory_id})
self._update_memory_tool(memory_id, data)
return {'message': 'Memory updated successfully!'}