litellm/ui
Krrish Dholakia 68ba8a7b99 fix(router): keep semantic auto-routers registered across delete/update
Deleting or updating an auto-router deployment left a stale entry in the router's per-strategy registries (auto_routers/complexity_routers/quality_routers/adaptive_routers). The subsequent re-add raised '<name> already exists', which is silently swallowed when ignore_invalid_deployments=True, dropping the deployment from model_list entirely. This is why semantic routers kept disappearing from the models tab and returned 'Invalid model name' on call. Deregister the strategy router whenever a deployment is removed so it can be cleanly re-added.

Also require the embedding model in the auto-router create/edit UI, since the backend rejects semantic routers without one; previously the field was optional in the UI so routers created without it silently failed to initialize.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-07-08 15:04:05 +00:00
..
litellm-dashboard fix(router): keep semantic auto-routers registered across delete/update 2026-07-08 15:04:05 +00:00
Dockerfile feat: add componentized proxy deployment with gateway, backend, ui, and migrations (#27557) 2026-05-16 09:25:17 -07:00
nginx.conf feat: add componentized proxy deployment with gateway, backend, ui, and migrations (#27557) 2026-05-16 09:25:17 -07:00