litellm/ui
tin-berri 721db0f03e
feat(ui): edit the auto-router tier set with custom classifier-defined tiers (#38603)
* feat(ui): edit the auto-router tier set with custom classifier-defined tiers

The editor over the model layer beneath it. An Edit tiers button turns the tier
list into an editor: a tier takes a name, a classifier definition, and models,
between two and eight rows. Restore defaults resets to the built-in four rather
than stacking them on top. Keyword rules follow a rename, an orphaned rule
blocks the save, and both forms dry-run the exact payload against the backend
validator before writing.

The edit modal hydrates a stored custom set into rows, and an untouched
open-and-save round-trips byte-identically, per-model reasoning efforts
included. A form that never opens the editor submits the same bytes as before.

The cost-optimization tier chart renders arbitrary tier names: the guard that
returned no models for a non-built-in name is gone, and the fixed four-color
array gives way to the shared cycle.

* refactor(ui): extract tier editor sections to clear new lint warnings

* test(ui): drop narration comments per repo convention

* fix(ui): default editingTiers so the build's type check passes

* fix(ui): restore the mid-dry-run submit guard and its regression tests
2026-08-28 09:45:11 -07:00
..
litellm-dashboard feat(ui): edit the auto-router tier set with custom classifier-defined tiers (#38603) 2026-08-28 09:45:11 -07:00
Dockerfile build(ui): bump nginx to 1.31-alpine 2026-08-27 17:09:17 +00:00
nginx.conf fix(ui): boot the UI image as an arbitrary uid by anchoring nginx writes under /tmp (#37982) 2026-08-24 11:57:36 -07:00