Repository navigation
fix(api): declare Realtime response error messages - #4083
Conversation
Castiron-Internal-PR: openai/openai-python-internal#219 Castiron-Source-SHA: d22cefa058252d4c50c0930f7630031476e0f769 Castiron-Public-Base-SHA: 21ce0c2
Castiron custom codeEvaluated main: ✅ No new custom-code files detected. 40 mixed files remain; 0 existing customizations changed. Compared 40 existing customizations unchanged
A changed generated baseline means this report cannot reliably identify which handwritten lines changed. Inspect the custom-code diffDownload the exact patch produced by this run (requires repository access): gh run download 38655762185 --repo openai/openai-python \
--name castiron-custom-code-38655762185-1 --dir /tmp/castiron-custom-code-38655762185-1
git apply --stat /tmp/castiron-custom-code-38655762185-1/custom-code.patch
cat /tmp/castiron-custom-code-38655762185-1/custom-code.patchOr reproduce it from an SDK checkout containing the vendored reporter: git fetch --no-tags origin 21ce0c2eae47b389f25d79095d2ac5aec7812806 11cd7003fdaf74248e09d8abb832c24d206a69cc
python3 scripts/castiron/custom_code_report.py report \
--base 21ce0c2eae47b389f25d79095d2ac5aec7812806 \
--head 11cd7003fdaf74248e09d8abb832c24d206a69cc --fetch --require-head-hash --public \
--out /tmp/castiron-custom-code-11cd7003fdaf
cat /tmp/castiron-custom-code-11cd7003fdaf/custom-code.patchThis is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
markstuart-oai
left a comment
There was a problem hiding this comment.
Reviewed 11cd700.
Both stable and beta response models expose the optional message field through their public response types. Existing errors without a message remain valid, and the change does not add a separate parsing or transport path. No blocking findings.
Validation: immutable source review and current-head hosted CI; all reported native checks passed or were skipped. I did not run local tests.
Automated Release PR --- ## [3.32.0](openai/openai-python@v3.31.0...v3.32.0) (2026-10-16) ### Features * **api:** add cache settings and key options [2/2] ([openai#4087](openai#4087)) ([325da45](openai@325da45)) * **api:** add prompt-based voice creation ([openai#4091](openai#4091)) ([2e39db7](openai@2e39db7)) * **api:** add regional processing residency options ([openai#4081](openai#4081)) ([21ce0c2](openai@21ce0c2)) * **api:** add response error diagnostics and model notices ([openai#4086](openai#4086)) ([e71d781](openai@e71d781)) * **api:** support audio fixture playback in Live sessions ([openai#4085](openai#4085)) ([9998c1a](openai@9998c1a)) * **api:** support Decisions in Live sessions ([openai#4088](openai#4088)) ([230a923](openai@230a923)) ### Bug Fixes * **api:** declare Realtime response error messages ([openai#4083](openai#4083)) ([95dbee9](openai@95dbee9)) ### Chores * **api:** clarify Decisions request and response fields ([openai#4079](openai#4079)) ([d42accb](openai@d42accb)) ### Refactors * share WebSocket connection handling ([openai#4084](openai#4084)) ([70d4738](openai@70d4738)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
Summary
Adds an optional message field to Realtime response status errors.
Changes
Fixes #2502.