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
v1.17.7: GitHub Copilot API missing X-GitHub-Api-Version header — GPT-5.5 and latest models not shown #32627
v1.17.7 does not send the X-GitHub-Api-Version header when calling the GitHub Copilot /models endpoint. As a result, the API returns only legacy models (20 models), omitting GPT-5.5, GPT-5.4, Claude Opus 4.7, Claude Sonnet 4.6, etc.
Impact
Model selector (TUI and /model command) only shows old models (claude-opus-4.5, gpt-4o, etc.)
GPT-5.5, GPT-5.4, Claude Opus 4.7, Claude Sonnet 4.6 are missing
Users cannot select the latest premium models
Root Cause
GitHub Copilot API now requires the X-GitHub-Api-Version header to return the full model list:
API Call
Models Returned
Without X-GitHub-Api-Version header
20 models (legacy)
With X-GitHub-Api-Version: 2024-12-15
30 models (includes GPT-5.5, etc.)
Evidence
# Without header — only legacy models
curl -s -H "Authorization: Bearer $TOKEN" \
"https://api.githubcopilot.com/models"| jq '.data | length'# Returns: 20# With header — full model list
curl -s -H "Authorization: Bearer $TOKEN" \
-H "X-GitHub-Api-Version: 2024-12-15" \
"https://api.githubcopilot.com/models"| jq '.data | length'# Returns: 30
Activity
github-actions commentedon Jun 17, 2026
This issue might be a duplicate of existing issues. Please check:
github-copilotplugin'smodels()request does not send headers configured viaprovider.options.headers— closely related, as it identifies the same code path (CopilotModels.get) constructing headers from scratch without including extra headers.rekram1-node commentedon Jun 17, 2026
nope we send the api header, u can read the code or run opencode through an http proxy to see for urself