Skip to content

Conversation

@sr-tream
Copy link

This pull request makes a targeted update to the createResponses service to ensure compatibility with the responses endpoint. The change removes the unsupported by Copilot service_tier field from the request payload before making the API call.
The service_tier field may be passed by clients, like RooCode, when used OpenAI provider with custom base url.

API compatibility fix:

@caozhiyuan
Copy link
Owner

@sr-tream please try set service_tier= null , and comment service_tier not supported by github copilot

Some clients, like RooCode may send `service_tier` to `/responses` endpoint, but Copilot do not support this field and returns error
@sr-tream sr-tream force-pushed the feature/responses-api branch from 13e0f24 to 16571eb Compare November 22, 2025 09:10
@sr-tream
Copy link
Author

service_tier= null

Yes, it's work correct too. In the first iteration I tried to fully remove service_tier field to avoid passing it into json

@caozhiyuan caozhiyuan merged commit f7835a4 into caozhiyuan:feature/responses-api Nov 22, 2025
caozhiyuan added a commit that referenced this pull request Nov 22, 2025
Remove incompatible with copilot responses `service_tier` field (#45)
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.

2 participants