fix: remove reasoning summary that requires OpenAI org verification#12047
Open
octo-patch wants to merge 1 commit intocontinuedev:mainfrom
Open
fix: remove reasoning summary that requires OpenAI org verification#12047octo-patch wants to merge 1 commit intocontinuedev:mainfrom
octo-patch wants to merge 1 commit intocontinuedev:mainfrom
Conversation
…ixes continuedev#12030) The reasoning.summary: 'auto' parameter requires OpenAI organization verification to generate reasoning summaries. This caused a 400 error for users with unverified organizations when using o3 and other OpenAI reasoning models through the Responses API.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #12030
Problem
Users with unverified OpenAI organizations receive a 400 error when using o3 and other reasoning models through the Responses API:
This occurs because
summary: "auto"is hard-coded in_convertArgsResponses()inOpenAI.ts, and OpenAI requires organization verification to generate reasoning summaries.Solution
Remove
summary: "auto"from the hard-codedreasoningconfig in_convertArgsResponses(). The reasoning effort ("medium") is still set, preserving the reasoning capability. Reasoning summary generation is an optional feature that requires org verification — it should not be requested by default.Testing
Users with unverified OpenAI organizations can now use o3 and other reasoning models without receiving the 400 error. The reasoning functionality itself is preserved through the
effort: "medium"setting.Summary by cubic
Remove
summary: "auto"from thereasoningconfig inOpenAI.tsto prevent 400 errors for unverified OpenAI orgs when using o3 and other reasoning models via the Responses API (fixes #12030). Reasoning stays enabled witheffort: "medium"; we just stop requesting optional summaries by default.Written for commit 0df3824. Summary will update on new commits.