Explorar o código

Fix error message on missing replicate api token (#332)

Deshraj Yadav %!s(int64=2) %!d(string=hai) anos
pai
achega
2d4c51aa16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      embedchain/apps/Llama2App.py

+ 1 - 1
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()