fix(webui): keep schema defaults out of model presets

This commit is contained in:
Xubin Ren committed 2026-09-02 16:25:07 +08:00
1 parent 94d62f86a0
commit 0274c11bfb
7 files changed
+169 -6

No files matched your search

+4 -1
View File
@@ -280,7 +280,10 @@ def migrate_model_configurations(
config_path: Path | None = None,
) -> dict[str, Any]:
config = _load_settings_config(config_path)
if models.migrate_model_configurations(config):
if models.migrate_model_configurations(
config,
oauth_status=_oauth_provider_status,
):
_save_settings_config(config, config_path)
return settings_payload(config_path=config_path)