Commit Graph

1 Commits (main)

Author SHA1 Message Date
LuckVd 4fb0b08719 fix(initialization): pass stored ExtraConfig to model connection test
fillSecretsFromStoredModel only copied APIKey/AppSecret from the stored
model into the test request, so the temporary test model built by
buildTestModel always had a nil ExtraConfig. Any provider-specific
setting (thinking_control, api_version, remote_model_name, ...) was
silently dropped from POST /initialization/remote/check, making the
'Test Connection' button validate a bare model instead of the stored
configuration — and masking fixes that depend on extra_config.

Request-provided values keep precedence: extraConfig is only filled
when the request does not carry one, matching the existing secret
semantics ('non-empty request values are always preferred').

Fixes #3057
2026-09-07 11:43:44 +08:00