Skip to content

Separate workflow model routing from engine configuration #78927

Done
3 of 3 issues completed
Done

Description

@rabeckett

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:

  1. Allow a top-level model-routing.allowed-models shortlist alongside a router model value. Keep the existing syntax and behavior.
  2. 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.
  3. 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.

Activity

  1. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor

    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.

    Generated by 🔧 Daily Assign Issue To User · copilot · routed: haiku55 xhigh · ~4 AIC · ⌖ ~1 AIC · ⊞ 2.6K · ◷

  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    🎉 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%)

    Generated by 🔧 Sub-Issue Closer · pi · gpt50 · ~1 AIC · ⌖ ~1 AIC · ⊞ 7.8K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementmodel-routingworkflows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions