Skip to content

Model routing: route Auto-Triage Issues instead of pinning gpt-6-astra #74187

Done

Description

@rabeckett

Estimated saving: about 5,060 AIC/week, from roughly 5,200 to 150 modeled AIC/week.

Use economy: component labeling and report discussions are routine, reversible outputs. This adds issue-event coverage to production Codex routing. The current openai/gpt-6-astra pin came from model-distribution testing (#65350), not a demonstrated quality requirement.

For a likely chore/local/easy classification, the cost table selects gpt-5.6-luna:high. Much of the saving also comes from removing the expensive pin inherited by threat detection and evals, not just changing the main model.

Change

In .github/workflows/auto-triage-issues.md, remove model: openai/gpt-6-astra and set:

engine:
  id: codex
  model-provider: github
  model-routing:
    goal: cost
    mode: economy

This moves inference billing from the OpenAI key to Copilot; copilot-requests: write is already present. Preserve the prompt, triggers, evals and safe outputs. Do not pin the predicted model or add model restrictions.

Run make recompile; include only this workflow and its matching lock file. Verify routing is enabled, OpenAI inference credentials are removed from the generated workflow, and detection uses its default model.

Check

Audit initial runs with gh aw audit <run> and compare label quality and total AIC/run against the roughly 93-AIC baseline. If labeling regresses, try balanced (likely Luna at max, about 70 AIC/week more).

Estimates use 19/26 October usage, 22 October routing tables and 2 November fitted cost ratios. They assume unchanged workload and about 1 AIC/run for detection/evals after unpinning. Actual classification and org model availability can change the pick and saving.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions