Expand description
Ranked catalog of Copilot-served models for intelligent default selection and self-heal
§Copilot Model Catalog
Ranked catalog of GitHub-Copilot-served models used by the Copilot CLI runner and the Copilot Headless (ACP) runner to pick a sensible default and to self-heal when the requested model has been rotated out of the account’s entitlement.
The catalog is the single source of truth: adding or retiring a model happens
here, not in consumer code. Ranking is (family, version desc, tier) so the
top entry is always the newest highest-quality model we know about.
Structs§
- Model
Candidate - One entry in the ranked Copilot model catalog.
Enums§
- Family
- Model family grouping — higher priorities are preferred defaults.
- Reasoning
Effort - Reasoning effort level forwarded via
--reasoning-effortto Copilot. - Tier
- Speed/capacity tier within a family.
Constants§
- CATALOG
- Canonical ranked catalog of GitHub-Copilot-served models.
Functions§
- catalog_
ids - Every model id in
CATALOGas ownedStrings. - classify_
model_ error - Detect Copilot’s “model not available” failure in captured stderr.
- default_
effort_ for - Heuristic default reasoning effort for a model id.
- find
- Lookup a candidate by exact id.
- next_
preferred - Next candidate id after
currentin catalog order. - preferred_
default - Identifier of the top-ranked candidate in
CATALOG. - rank
- Sort a slice of candidates by
(family priority, version desc, tier priority).