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.

revert pagination change and version bump

Dev-Khant7284317cef2c
diff --git a/mem0/client/main.py b/mem0/client/main.py
index 48590f271..32bbb9253 100644
--- a/mem0/client/main.py
+++ b/mem0/client/main.py
@@ -176,11 +176,7 @@ class MemoryClient:
self,
{"api_version": version, "keys": list(kwargs.keys())},
)
- data = response.json()
- if "output_format" in kwargs and kwargs["output_format"] == "v1.0":
- return data["results"]
- else:
- return data
+ return response.json()
@api_error_handler
def search(self, query: str, version: str = "v1", **kwargs) -> List[Dict[str, Any]]:
diff --git a/pyproject.toml b/pyproject.toml
index 961059b7e..c1c1479d3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mem0ai"
-version = "0.1.31"
+version = "0.1.32"
description = "Long-term memory for AI Agents"
authors = ["Mem0 <[email protected]>"]
exclude = [