Repository navigation
feat(ui): backport decision auto-router setup to 1.106 - #45916
Merged
Merged
Conversation
3 of 5 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
joshua-berri
marked this pull request as ready for review
October 11, 2026 03:13
yucheng-berri
approved these changes
Oct 11, 2026
Base automatically changed from
litellm_backport_decisions_ui_rc_1_106_0
to
rc/1.106.0
October 11, 2026 05:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current verification status
Independent source verification passed on this final commit, including create, reopen, change deployment, invoke, legacy compatibility, and nonzero cost/provider recording in spend logs. No concrete defects were found. Transport used a controlled local upstream, not a real paid provider
Release CI still has failures. These remain visible and are not claimed as passes
TLDR
Problem this solves:
How it solves it:
Intentional product change: new decision routers choose an onboarded decision model instead of entering a provider and raw model name. Legacy router configurations remain supported. Tier assignments start with the existing automatic recommendations and remain editable
User Flow
Before: decision-router setup requires separate provider/model choices and scattered settings
/ui/models-and-endpoints, then Add Auto RouterAfter: the same task starts with the deployment and keeps related settings together
/ui/models-and-endpoints, then Add Auto RouterDependencies
Backport of #45913 for 106. This PR targets the branch for #45891, which supplies decision-model support on this release
Merge #45891 first. After its squash merge, replay only this PR's commits onto the release branch and retarget. The recorded parent boundary is
acf745591166776afd8fd8775d20be6626ae021e. Refresh verification after that replayImplementation
The dropdown intersects available model groups with evaluation mode or existing decision catalog metadata. It saves the deployment alias in
deployment_name. A small classifier adapter calls the existingRouter.adecisionspath, so the selected deployment owns the connection and credentials. Existing key/team dependency checks also apply to this alias. Direct legacy classifier configurations still use their original pathDeployment-backed routers reopen with the same dropdown; ignored legacy provider/model controls are hidden. This fixes the edit regression discovered during independent verification. Access groups only move below the name; their behavior is unchanged. No new endpoints, migrations, routing policies, or provider onboarding changes
Tests
Screenshots / Proof of Fix
Same isolated demo data and controlled upstream on baseline and final source builds
Before (acf7455)
/ui/models-and-endpoints, then Add Auto Router and select the decision classifierAfter (6d19d8e)
5.04e-07for the controlled 12-token responseCaveats
Severe
deployment_nameconfigurationLow
Type
Pre-Submission checklist