fix(config): load provider models from config.yaml in model dropdown — PR #644 by @ccqqlo

Providers in config.yaml with explicit models: list were silently ignored. Fix extends the model-list builder to check cfg.providers[pid].models, covering both dict and list formats. Also includes providers only in config.yaml (not _PROVIDER_MODELS). 5 regression tests added. Independent review by @nesquena.
This commit is contained in:
nesquena-hermes
2026-04-18 00:14:03 -07:00
committed by GitHub
parent ad6e76e48e
commit 20a5f48a1f
4 changed files with 143 additions and 3 deletions

View File

@@ -592,7 +592,7 @@
<div class="settings-section-title">System</div>
<div class="settings-section-meta">Instance version and access controls.</div>
</div>
<span class="settings-version-badge">v0.50.82</span>
<span class="settings-version-badge">v0.50.83</span>
</div>
<div class="settings-field" style="border-top:1px solid var(--border);padding-top:12px;margin-top:8px">
<label for="settingsPassword" data-i18n="settings_label_password">Access Password</label>