From d964d023ba38f98644ce256c06aa15e9c43cc06d Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Mon, 21 Oct 2024 13:06:08 +0200 Subject: [PATCH] fix var because langchain is coded by incompetents --- backend/src/mapping_generation/manager_llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/mapping_generation/manager_llm.py b/backend/src/mapping_generation/manager_llm.py index 2a4a7f8..1936c1e 100644 --- a/backend/src/mapping_generation/manager_llm.py +++ b/backend/src/mapping_generation/manager_llm.py @@ -37,7 +37,7 @@ def _load_llm(model="llama3", hugging_face=False): # org_id = os.getenv("OPENAI_ORG_ID") my_org_id = os.getenv("CT_MAPPER_OPENAI_ORG_ID", "") groq_api = os.getenv("GROQ_API_KEY", "") - togather_api = os.getenv("TOGATHER_API_KEY", "") + togather_api = os.getenv("TOGATHER_API_KEY", "placeholder") hf_key = os.getenv("HF_API_KEY", "") # mixtral_api = os.getenv("MIXTRAL_API_KEY") if hugging_face and "gpt" not in model: