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.

Proper error message if api key not found (#1985)

Dev Khantfb3eef6cf5be
diff --git a/mem0/client/main.py b/mem0/client/main.py
index ef90183f0..5194a0643 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 5f9e31e9e..dc07dcea8 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 <[email protected]>"]
exclude = [