-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Make Auto model-routing scope, data path, and resolved route explicit #4411
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesttuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionuxUser experience, interaction, or presentation polishUser experience, interaction, or presentation polishv0.9.1Targeting v0.9.1Targeting v0.9.1
Milestone
Description
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requesttuiTerminal UI behavior, rendering, or interactionTerminal UI behavior, rendering, or interactionuxUser experience, interaction, or presentation polishUser experience, interaction, or presentation polishv0.9.1Targeting v0.9.1Targeting v0.9.1
Projects
StatusShow more project fields
Backlog
Summary
/model autois currently described in the picker only as “select per turn,” which does not explain its provider, cost, or data-routing scope.Current behavior
With the DeepSeek router available, Auto can choose a complete provider/model/thinking route from every authenticated provider, not just the active provider. It sends the current request plus a bounded recent-context summary to the router to make that selection.
The product also has distinct concepts named Auto: Auto model route, Auto-Review permission posture, auto-thinking, auto-compaction, and workflow automation. The short label makes these easy to conflate.
User-facing impact
The attached
gpt-5.6-sol → GLM-5.2/api.z.aitranscript matches an explicit persistent provider/model switch rather than the current per-turn Auto status, but the UI does not make this distinction obvious. Users cannot readily tell whether a route change was deliberate, automatic, provider-crossing, or how their prompt was routed.Recommended behavior
Prefer a provider-scoped default:
Auto route (this provider)chooses model + thinking only within the active provider.Auto across connected providers, may choose another authenticated provider.Before first cross-provider use, clearly confirm:
At minimum, if behavior remains unchanged:
Auto route — may use connected providers.Chooses provider, model, and thinking per turn. Costs and data policies may vary.Auto route: Z.ai / GLM-5.2 · classifier: DeepSeek Flash.Auto routefromAuto-Review, auto-thinking, and auto-compaction in help and settings.Relevant areas
crates/tui/src/model_inventory.rs,model_routing.rs,tui/auto_router.rs,tui/model_picker.rs, and statusline/model-route copy.