Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

fix(docs): memory addition return type (#1771)

Mathew Shendf5b7109f57b
diff --git a/mem0/memory/main.py b/mem0/memory/main.py
index c4001ccf2..53eae320e 100644
--- a/mem0/memory/main.py
+++ b/mem0/memory/main.py
@@ -79,7 +79,7 @@ class Memory(MemoryBase):
prompt (str, optional): Prompt to use for memory deduction. Defaults to None.
Returns:
- str: ID of the created memory.
+ dict: Memory addition operation message.
"""
if metadata is None:
metadata = {}