Add GPT-5.6 Responses API support#134
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 561508f5ed
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex pls review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c58647a772
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex pls review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c58647a772
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex pls review |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
/v1/responsesso reasoning and function tools work together.gpt-5.6-terraas the default.Why
GPT-5.6 Terra rejects function tools combined with
reasoning_efforton/v1/chat/completions. Setting reasoning effort tononeavoids the error by disabling reasoning, but loses the behavior the model was selected for. The Responses API supports reasoning and tools together, so the adapter now uses that endpoint only for official GPT-5.6 requests.User impact
Users can select the GPT-5.6 family and use tools with reasoning enabled. Existing providers, older OpenAI models, configured custom endpoints, and customized provider settings retain their previous behavior.
Validation
git diff --check origin/main...HEADnode test/run.js: 848 passed; one pre-existing repository version check remains (package.json23.3.7 vs newest changelog entry 23.3.6)npm run test:security: 60/60 passed