#8546: Fix/config UI improvements
app: web-ui
stale
Cluster:
UI and Model Management Enhancements
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR improves the Config UI by adding a richer “Models” settings experience (provider cards, tooltips, and gateway catalog integration) and enhancing agent model selection to pull from `models.list` instead of only config-defined options. It also updates config snapshot handling so the UI can display a default config when no file exists and a more informative placeholder when reads fail.
Key touchpoints:
- Backend config IO now returns a default `raw` payload (and an error placeholder) so the UI can render something even when the config file is missing/unreadable.
- UI state/controllers add `modelCatalog` + loading state, fetching the model list from the gateway and wiring it into Agents and Config views.
- Config form gains tooltip support and a dedicated models settings view that uses the gateway catalog and detected provider auth hints.
<h3>Confidence Score: 3/5</h3>
- This PR is mostly safe to merge, but there are a couple correctness/UX edge cases around model ID formatting and catalog-unavailable behavior.
- Most changes are additive UI and state plumbing. The main correctness risk is how catalog models are converted into config IDs (can double-prefix provider, breaking selection). There are also UX edge cases when the catalog isn’t available (fallback selection becomes unusable) and the new default raw config uses JSON5-style comments which may be saved as-is.
- ui/src/ui/views/agents.ts; src/config/io.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#13838: UI: fix config panel CI failures and modularize rendering
by fresed05 · 2026-02-11
81.7%
#7794: fix(tui): refresh session info periodically to reflect config changes
by GuoxiangZu · 2026-02-03
80.7%
#6440: feat(ui): add model picker dialog with provider filtering
by igorls · 2026-02-01
79.9%
#13960: fix(ui): preserve structured config validation error details
by constansino · 2026-02-11
78.9%
#7892: Claude/setup agent firewall ww xsv
by starwreckntx · 2026-02-03
78.3%
#6059: fix #6044
by vivganes · 2026-02-01
77.8%
#9739: #9291 fix(models): preserve existing models in models.json when mer...
by ximzzzzz · 2026-02-05
77.7%
#7382: fix: remove config.schema from agent gateway tool
by kakuteki · 2026-02-02
77.4%
#8522: feat(control-ui): Add Model Requests panel for real-time API monito...
by GiantAxeWhy · 2026-02-04
77.2%
#8475: models: discover local Windsurf/Cursor/Antigravity models
by gitSITTI · 2026-02-04
77.1%