You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Separate workflow model routing from engine configuration #78927
I’d like engine to choose which agent runs, model to say how to choose its model, and optional top-level model-routing settings to narrow the router’s choices. Routing started as a Copilot engine feature (#64593). It now works with several engines, and putting its settings under engine makes authors repeat a goal and mode that model: router and its named levels already express for cost-oriented routing.
I’d split the work into three phases while routing is experimental:
Allow a top-level model-routing.allowed-models shortlist alongside a router model value. Keep the existing syntax and behavior.
Move the 11 smoke workflows that still use the nested block, preserving each candidate list. Don’t replace the list with models.allowed, which also affects sub-agents.
Deprecate nested routing after migration, preserve explicit opt-out without pinning a model, and retire cost-speed rather than inventing a new spelling for it. Warn first, allow a migration window, then reject retired values explicitly. Update runtime consumers to accept cost-only bundles and stop advertising or serving speed routing before switching new table releases to cost-only generation. Do not remove historical pinned releases or silently translate speed to cost.
The 74 workflows that needed only a model value migrated in #78865; the downstream gh-cao migration is also merged (githubnext/gh-cao#21183). Keep implicit routing, existing model overrides, sub-agent policy, and the economy/balanced/robust cost levels stable. This tracker stays open until new bundles contain only the three cost tables and supported consumers no longer require speed tables. Please link each implementation PR to its own issue.
Assigned to @rabeckett, who recently added the top-level routing opt-out and deprecated nested model routing (#79117), which is directly related to this separation.
Activity
github-actions commentedon Nov 20, 2026
Assigned to @rabeckett, who recently added the top-level routing opt-out and deprecated nested model routing (#79117), which is directly related to this separation.
github-actions commentedon Nov 21, 2026
🎉 Automatically closed by Sub-Issue Closer
All sub-issues have been completed. This parent issue is now closed automatically.
Sub-issues status: 3/3 closed (100%)