mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
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> |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||