Skip to content

fix(ai): route Copilot Grok 4.5 to responses - #906

Open
jay-tau wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
jay-tau:codex/fix-875-copilot-grok-responses
Open

fix(ai): route Copilot Grok 4.5 to responses#906
jay-tau wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
jay-tau:codex/fix-875-copilot-grok-responses

Conversation

@jay-tau

@jay-tau jay-tau commented Aug 8, 2026

Copy link
Copy Markdown

Summary

  • Route GitHub Copilot grok-4.5 through the OpenAI Responses API.
  • Regenerate the Copilot model catalog and add regression coverage.

Testing

  • npx tsx ../../node_modules/vitest/dist/cli.js --run test/github-copilot-models.test.ts
  • npm run check

Fixes #875

Note

Route GitHub Copilot grok-4.5 to the Responses API instead of Chat Completions

The grok-4.5 model under the github-copilot provider does not support the Chat Completions endpoint, so it is now assigned openai-responses in generate-models.ts alongside the existing gpt-5 and oswe models. The generated catalog and a new test in github-copilot-models.test.ts confirm the correct routing.

Macroscope summarized 76b84a2.

@jay-tau
jay-tau marked this pull request as ready for review August 8, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Copilot Grok 4.5 is incorrectly routed to /chat/completions

1 participant