Replies: 1 comment
|
vouched! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi — I’d like to contribute a fix for GitHub Copilot requests being rejected when OMP’s native OpenAI service tier is configured as
priority.I reproduced the problem against the live endpoint. OMP sent
"service_tier":"priority"tohttps://api.githubcopilot.com/responses, which GitHub Copilot rejected with HTTP 400:service_tier is not supported.The patch treats GitHub Copilot as an OpenAI-compatible relay that does not implement OpenAI’s request-level service-tier control. It omits
service_tierforgithub-copilot/*while preserving the configured tier for nativeopenai/*andopenai-codex/*requests.The change includes a wire-level regression test covering both sides of that behavior, plus a changelog entry.
Verification completed:
bun checkpassed, including TypeScript, Biome, and Rust checks.github-copilot/gpt-5.4request.The initial PR was automatically closed because I was not yet vouched:
Would a maintainer be willing to review this contribution and, if appropriate, vouch for
@audreytso I can reopen or resubmit the PR?All reactions