dsh: pin models to reliable OmniRoute providers (chat=opencode-go flash, reasoning=deepseek flash, coding=deepseek pro) + friendly labels

This commit is contained in:
2026-08-26 21:59:49 +10:00
parent 08e43b700a
commit dba59d71a7
3 changed files with 13 additions and 6 deletions

View File

@@ -137,7 +137,7 @@
try {
const d = await (await fetch('/api/models')).json();
(d.current || []).forEach(m => {
const o = document.createElement('option'); o.value = m; o.textContent = m;
const o = document.createElement('option'); o.value = m; o.textContent = (d.labels && d.labels[m]) || m;
if (m === d.default) o.selected = true;
modelSel.appendChild(o);
});