Skip to content

Allow a top-level shortlist alongside model: router #78928

Done

Description

@rabeckett

I’d like to use model: router/economy and narrow the router’s main-agent candidates without configuring the engine twice:

engine: copilot
model: router/economy
model-routing:
  allowed-models: [gpt-5.6-luna, claude-haiku-4.5]

This should make the same selection as the existing goal: cost, mode: economy block with that shortlist. It must not turn a shortlist into a policy on sub-agents or other jobs. A fixed model, an implicit default, or a mixture of the top-level and nested routing blocks should not silently discard the list. Don’t put goal or mode in the new block. The current nested syntax, opt-outs, and workflows without the new field should keep working.

Please include a working example in the model-routing reference, explain how this differs from models.allowed, and verify equivalence against the compiled routing configuration. Workflow migrations and deprecation are separate steps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions