From fb3eef6cf5be973a1abc9730903611a41a62ca66 Mon Sep 17 00:00:00 2001 From: Dev Khant Date: Sat, 26 Oct 2024 00:04:40 +0530 Subject: [PATCH] Proper error message if api key not found (#1985) --- 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 ef90183f..5194a064 100644 --- a/mem0/client/main.py +++ b/mem0/client/main.py @@ -81,7 +81,7 @@ class MemoryClient: self.user_id = get_user_id() if not self.api_key: - raise ValueError("API Key not provided. Please provide an API Key.") + raise ValueError("Mem0 API Key not provided. Please provide an API Key.") self.client = httpx.Client( base_url=self.host, diff --git a/pyproject.toml b/pyproject.toml index 5f9e31e9..dc07dcea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mem0ai" -version = "0.1.23" +version = "0.1.24" description = "Long-term memory for AI Agents" authors = ["Mem0 "] exclude = [