From 7284317cef2ced3ccf9d4be3810214ca9f63d18c Mon Sep 17 00:00:00 2001 From: Dev-Khant Date: Fri, 22 Nov 2024 19:48:27 +0530 Subject: [PATCH] revert pagination change and version bump --- mem0/client/main.py | 6 +----- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/mem0/client/main.py b/mem0/client/main.py index 48590f271e..32bbb92538 100644 --- a/mem0/client/main.py +++ b/mem0/client/main.py @@ -176,11 +176,7 @@ def get_all(self, version: str = "v1", **kwargs) -> List[Dict[str, Any]]: 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 961059b7e3..c1c1479d3a 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 "] exclude = [