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 REST API infer parameter ignored (#3607)

Frederik Berg77c71a134ac2
diff --git a/openmemory/api/app/routers/memories.py b/openmemory/api/app/routers/memories.py
index d4714395d..3af7bbe13 100644
--- a/openmemory/api/app/routers/memories.py
+++ b/openmemory/api/app/routers/memories.py
@@ -262,7 +262,8 @@ async def create_memory(
metadata={
"source_app": "openmemory",
"mcp_client": request.app,
- }
+ },
+ infer=request.infer
)
# Log the response for debugging