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:
Lynn
2026-06-02 19:04:20 +08:00
committed by GitHub
parent d41373cfa9
commit 36357a6afd
6 changed files with 40 additions and 21 deletions

View File

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