소스 검색

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)
tags/v0.12.0
Kevin Hu 1 년 전
부모
커밋
099c37ba95
No account linked to committer's email address
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0
    1
      rag/llm/chat_model.py

+ 0
- 1
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)



Loading…
취소
저장