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 error of wrong exception (#2911)

Prateek Chhikaraecc596b11f7d
diff --git a/mem0/client/main.py b/mem0/client/main.py
index ce946e86c..d5057a6cf 100644
--- a/mem0/client/main.py
+++ b/mem0/client/main.py
@@ -795,7 +795,7 @@ class AsyncMemoryClient:
return data.get("user_email")
- except requests.HTTPStatusError as e:
+ except requests.exceptions.HTTPError as e:
try:
error_data = e.response.json()
error_message = error_data.get("detail", str(e))
diff --git a/pyproject.toml b/pyproject.toml
index b52f40d6a..7ea01c1fd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "mem0ai"
-version = "0.1.105"
+version = "0.1.106"
description = "Long-term memory for AI Agents"
authors = [
{ name = "Mem0", email = "[email protected]" }