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)
This commit is contained in:
Kevin Hu 2024-09-20 10:55:52 +08:00 committed by GitHub
parent a44f1f735d
commit 099c37ba95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)