revert pagination change and version bump
This commit is contained in:
@@ -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]]:
|
||||
|
||||
@@ -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 <founders@mem0.ai>"]
|
||||
exclude = [
|
||||
|
||||
Reference in New Issue
Block a user