Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

rm key set in xinference (#2511)

Kevin Hu099c37ba9530
diff --git a/rag/llm/chat_model.py b/rag/llm/chat_model.py
index eb3b74cf38..4126ca7731 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)