mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Fix: model provider (#15517)
### What problem does this PR solve? Fix: - Handle siliconflow and siliconflow_intl api_key ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -395,7 +395,7 @@ class Browser(ComponentBase, ABC):
|
||||
|
||||
chat_model_config = get_model_config_from_provider_instance(
|
||||
self._canvas.get_tenant_id(),
|
||||
get_model_type_by_name(self._param.llm_id),
|
||||
get_model_type_by_name(self._canvas.get_tenant_id(), self._param.llm_id),
|
||||
self._param.llm_id,
|
||||
)
|
||||
cfg = self._as_model_config_dict(chat_model_config)
|
||||
|
||||
Reference in New Issue
Block a user