When using GitHub Copilot CLI 1.0.65 with the current default model "Claude Sonnet 4.6 (default)", requests go through aibridgeproxyd to the Copilot provider in aibridge, which currently only supports OpenAI-compatible routes (/chat/completions, /responses). The Anthropic-style /v1/messages route is not registered, so it fails with:
CAPIError: 404 404 404 route not supported: POST /copilot/v1/messages
Fix
Add /v1/messages as a bridged route to the Copilot provider in aibridge/provider/copilot.go, reusing the existing intercept/messages logic from the Anthropic provider.
When using GitHub Copilot CLI 1.0.65 with the current default model "Claude Sonnet 4.6 (default)", requests go through
aibridgeproxydto the Copilot provider inaibridge, which currently only supports OpenAI-compatible routes (/chat/completions,/responses). The Anthropic-style/v1/messagesroute is not registered, so it fails with:Fix
Add
/v1/messagesas a bridged route to the Copilot provider inaibridge/provider/copilot.go, reusing the existingintercept/messageslogic from the Anthropic provider.