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
[BUG]: fix(github-copilot): xhigh reasoning variant missing from GPT-5.x models #30092
GitHub Copilot GPT-5.x models (gpt-5.2, gpt-5.4, gpt-5.5, codex variants) only show low, medium, high in the variant picker. xhigh was available previously and the Copilot API still accepts it — it just no longer appears in the reasoning_effort array the /models endpoint returns.
The build() function in packages/opencode/src/plugin/github-copilot/models.ts replaces model.variants entirely from the live API response, so any catalog-defined variants not in that array are silently dropped.
Proposed fix — merge prev variants instead of replacing:
This means the live API wins on conflicts but catalog-defined variants (e.g. xhigh) aren't lost when the endpoint stops advertising them. Also needs xhigh added to the models.dev catalog entries for GPT-5.x Copilot models.
Plugins
superpowers
OpenCode version
1.15.11
Steps to reproduce
Set model to github-copilot/gpt-5.5 (or any GPT-5.x Copilot model)
changed the title [-]fix(github-copilot): xhigh reasoning variant missing from GPT-5.x models[/-][+][BUG]: fix(github-copilot): xhigh reasoning variant missing from GPT-5.x models[/+]on May 31, 2026
Activity
[-]fix(github-copilot): xhigh reasoning variant missing from GPT-5.x models[/-][+][BUG]: fix(github-copilot): xhigh reasoning variant missing from GPT-5.x models[/+]