litellm/ui
Cursor Agent 529303dc9b
test(ui): align auto-router preset tests with bundled preset models
The Auto Router preset JSON added in #35746 was bundled with newer models
(claude-sonnet-5, gpt-5.4-*, latest opus/haiku), but the tests still expected
the older names (claude-sonnet-4-5, gpt-5-nano/mini). The two lists never
matched, so every Anthropic-family preset test in add_auto_router_tab kept
the option disabled, and autorouter_presets' version-separator test reported
claude-sonnet-5 as missing when the caller Set only spelled it 4.5.

Point ALL_FAMILY_MODELS and the tier-summary/default-model expectations at
the models the preset actually names, and swap the sonnet entry in the
separator-normalization test for claude-sonnet-5 (the haiku entry still
exercises the dot-vs-dash path against the preset's claude-haiku-4-5).

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-08-05 02:09:17 +00:00
..
litellm-dashboard test(ui): align auto-router preset tests with bundled preset models 2026-08-05 02:09:17 +00:00
Dockerfile chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00