mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 05:31:47 +00:00
GitHub Copilot's /responses endpoint only serves OpenAI (gpt/codex) models. gemini-3.1-pro-preview was failing on /chat/completions with a "not supported" error, getting cached as a codex model, then escalated to /responses where it 400s with "does not support Responses API". Add GithubExecutor.supportsResponsesEndpoint() and gate both the cached /responses route and the 400-fallback on it, so Gemini/Claude always stay on /chat/completions and the real upstream error surfaces. Adds tests/unit/github-responses-routing.test.js (5 tests). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9742074b38
commit
88224b80ca
@@ -1,6 +1,7 @@
|
||||
# v0.4.63 (2026-05-26)
|
||||
|
||||
## Fixes
|
||||
- GitHub Copilot: never route Gemini/Claude models to the `/responses` endpoint; prevents misleading "does not support Responses API" 400s (#1062)
|
||||
- proxyFetch: restore missing `Readable` import causing runtime `ReferenceError` in DNS-bypass fetch path
|
||||
|
||||
## Improvements
|
||||
|
||||
Reference in New Issue
Block a user