Repository navigation
Note the unparseable-output case in OpenAIResponseOperator XCom docs - #74519
Merged
Merged
Conversation
1 task done
YAshhh29
force-pushed
the
openai-structured-followup
branch
from
October 9, 2026 21:03
cf9aecf to
8b17e50
Compare
Contributor
Author
YAshhh29
force-pushed
the
openai-structured-followup
branch
from
October 10, 2026 14:23
8b17e50 to
7eddfdb
Compare
The class docstring said a structured response that fails the task still records its id and token usage. That does not hold when the SDK cannot parse the output, because it raises before returning a response object. The test for a rejected response now also covers an incomplete response, which pins that both keys are pushed before the status check.
YAshhh29
force-pushed
the
openai-structured-followup
branch
from
October 24, 2026 12:50
7eddfdb to
0d3e9d2
Compare
Contributor
Author
kaxil
approved these changes
Oct 27, 2026
Contributor
Author
|
Renamed to |
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.

Follow-up to #69812, addressing the two non-blocking notes from @kaxil's approval.
ValidationError(JSON cut off mid-object), because no response object comes back, so neither key is pushed. The docstring now carries the same caveat as the guide.test_rejected_response_still_records_id_and_usageonly covered a refusal. It is now parametrized with an incomplete response too, which pins that the push happens before the status check.No behaviour change.
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code following the guidelines