From ecc596b11f7db914210317dd52e3dc32f4d42f77 Mon Sep 17 00:00:00 2001 From: Prateek Chhikara <46902268+prateekchhikara@users.noreply.github.com> Date: Wed, 4 Jun 2025 17:56:52 -0600 Subject: [PATCH] fix error of wrong exception (#2911) --- mem0/client/main.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mem0/client/main.py b/mem0/client/main.py index ce946e86..d5057a6c 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 b52f40d6..7ea01c1f 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 = "founders@mem0.ai" }