Kevin Hu
commited on
Commit
·
cf493b7
1
Parent(s):
9d920dd
rm key set in xinference (#2511)
Browse files### 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 +0 -1
rag/llm/chat_model.py
CHANGED
@@ -103,7 +103,6 @@ class XinferenceChat(Base):
|
|
103 |
raise ValueError("Local llm url cannot be None")
|
104 |
if base_url.split("/")[-1] != "v1":
|
105 |
base_url = os.path.join(base_url, "v1")
|
106 |
-
key = "xxx"
|
107 |
super().__init__(key, model_name, base_url)
|
108 |
|
109 |
|
|
|
103 |
raise ValueError("Local llm url cannot be None")
|
104 |
if base_url.split("/")[-1] != "v1":
|
105 |
base_url = os.path.join(base_url, "v1")
|
|
|
106 |
super().__init__(key, model_name, base_url)
|
107 |
|
108 |
|