mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-31 15:47:05 +00:00
fix(model): Fix proxy reranker bug (#2783)
This commit is contained in:
parent
d9d4d4b6bc
commit
c56f8810e6
@ -457,7 +457,7 @@ class OpenAPIRerankEmbeddings(BaseModel, RerankEmbeddings):
|
||||
return cls(
|
||||
api_url=parameters.api_url,
|
||||
api_key=parameters.api_key,
|
||||
model_name=parameters.real_model_path,
|
||||
model_name=parameters.real_provider_model_name,
|
||||
timeout=parameters.timeout,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user