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 message on missing replicate api token (#332)

Deshraj Yadav2d4c51aa167e
diff --git a/embedchain/apps/Llama2App.py b/embedchain/apps/Llama2App.py
index 12e88a299..b1a133415 100644
--- a/embedchain/apps/Llama2App.py
+++ b/embedchain/apps/Llama2App.py
@@ -20,7 +20,7 @@ class Llama2App(EmbedChain):
:param config: AppConfig instance to load as configuration. Optional.
"""
if "REPLICATE_API_TOKEN" not in os.environ:
- raise ValueError("Please set the REPLICATE_API_TOKEN environment variable to your OpenAI API key.")
+ raise ValueError("Please set the REPLICATE_API_TOKEN environment variable.")
if config is None:
config = AppConfig()