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 typo in the prompt of get_update_memory_messages (#2000)

Xiang Wang6668be3d5bf8
diff --git a/mem0/configs/prompts.py b/mem0/configs/prompts.py
index d9192129a..99052d7d9 100644
--- a/mem0/configs/prompts.py
+++ b/mem0/configs/prompts.py
@@ -120,7 +120,7 @@ def get_update_memory_messages(retrieved_old_memory_dict, response_content):
"text" : "User is a software engineer"
}},
{{
- "id" : "0a14d8f0-e364-4f5c-b305-10da1f0d0878",
+ "id" : "b4229775-d860-4ccb-983f-0f628ca112f5",
"text" : "User likes to play cricket"
}}
]
@@ -143,6 +143,7 @@ def get_update_memory_messages(retrieved_old_memory_dict, response_content):
"id" : "b4229775-d860-4ccb-983f-0f628ca112f5",
"text" : "Loves to play cricket with friends",
"event" : "UPDATE"
+ "old_memory" : "User likes to play cricket"
}}
]
}}