From 099c37ba9530b46eff3c7e06847022ea91775f33 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Fri, 20 Sep 2024 10:55:52 +0800 Subject: [PATCH] rm key set in xinference (#2511) ### What problem does this PR solve? #2492 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- rag/llm/chat_model.py | 1 - 1 file changed, 1 deletion(-) diff --git a/rag/llm/chat_model.py b/rag/llm/chat_model.py index eb3b74cf3..4126ca773 100644 --- a/rag/llm/chat_model.py +++ b/rag/llm/chat_model.py @@ -103,7 +103,6 @@ class XinferenceChat(Base): raise ValueError("Local llm url cannot be None") if base_url.split("/")[-1] != "v1": base_url = os.path.join(base_url, "v1") - key = "xxx" super().__init__(key, model_name, base_url)