fix(webui): keep schema defaults out of model presets
This commit is contained in:
1 parent
94d62f86a0
commit
0274c11bfb
7 files changed
+169
-6
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user