fix(ai): route GitHub Copilot MAI-Code models through /responses endpoint (#6544)

mai-code-1-flash-picker is not accessible via /chat/completions and
must use the Copilot /responses endpoint. Update generate-models.ts to
send mai-* models to the responses API and regenerate the affected
model entry.
This commit is contained in:
Petr Houška
2026-07-13 09:56:40 +02:00
committed by GitHub
parent eacaa130ab
commit f7b78e2a42
3 changed files with 7 additions and 5 deletions
+1
View File
@@ -12,6 +12,7 @@
### Fixed
- Fixed OpenRouter model context windows to use the top provider's actual context length ([#6481](https://github.com/earendil-works/pi-mono/pull/6481) by [@davidbrai](https://github.com/davidbrai)).
- Fixed the GitHub Copilot `mai-code-1-flash-picker` model to route through the `/responses` endpoint.
- Fixed Amazon Bedrock requests to use the generic `apiKey` stream option as a Bedrock bearer token.
## [0.80.6] - 2026-07-09