web: filter the chat model picker

Add a search field that narrows models by name, id or provider in place, keeps
focus while typing, and reports when nothing matches.
This commit is contained in:
2026-10-20 15:04:10 +01:00
parent 1480591a34
commit 9f29f387ba
5 changed files with 85 additions and 17 deletions
+1
View File
@@ -392,6 +392,7 @@
/* Model picker: a bounded list of the current harness's models. */
.chat-model-panel { width: min(480px, 100%); max-height: calc(100dvh - 48px); }
.chat-model-helper { margin: 0; font-size: 12px; }
.chat-model-search { width: 100%; min-height: 38px; }
.chat-model-loading { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.chat-model-error { margin: 0; color: var(--bad); font-size: 12px; }
.chat-model-empty { margin: 0; font-size: 13px; }