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
fix: use dynamic Copilot API endpoint from token response
- Read endpoints.api from /copilot_internal/v2/token response and store
in state.copilotApiBaseUrl; individual accounts should use
https://api.individual.githubcopilot.com (not the hardcoded
https://api.githubcopilot.com) which is why Claude models were missing
- Refresh copilotApiBaseUrl on token refresh cycles
- Replace narrow claude-sonnet/opus hardcoded normalization with a
comprehensive 5-pattern normalizeClaude() that handles all versioned
Claude model IDs sent by Claude Code (haiku-4-5, sonnet-4/4.5/4.6,
opus-4/4.5/4.6, legacy claude-3-x-family formats)
0 commit comments