Skip to content

feat(api): expand agent turn errors and image and audio options - #1334

Merged
dpiet-oai merged 1 commit into
mainfrom
castiron/promotions/pr-416
Nov 4, 2026
Merged

dpiet-oai merged 1 commit into
mainfrom
castiron/promotions/pr-416

Conversation

@dpiet-oai

Copy link
Copy Markdown
Contributor

Summary

Adds max_output_tokens to agent session turn errors, image context compression to Responses requests, and input-audio noise-reduction strength to Realtime requests. The structured Responses wrappers expose the image option, and the released beta Realtime accessors remain available.

./scripts/detect-breaking-changes 31345c400d24d67267990b0162ec11cd0ee32621 passed, including the external compatibility fixture for all four beta Realtime entry points.

Castiron-Internal-PR: openai/openai-java-internal#416
Castiron-Source-SHA: cf9d54271b62ff6d4a82ac8788768118749f7b17
Castiron-Public-Base-SHA: 31345c4
@dpiet-oai
dpiet-oai requested a review from a team as a code owner November 4, 2026 05:49
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T05:50:41.430981Z cfc6b7a PR opened
🔒 Security Review ✅ Completed 2026-11-04T05:51:55.226922Z cfc6b7a PR opened
ℹ️ 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" or "@codex security review".

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 markstuart-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed cfc6b7a. The image, audio and turn-error additions follow the existing model contracts, including optional fields and unknown values. Structured Responses wrappers use the underlying model directly. All four deprecated beta Realtime accessors remain available, with compatibility fixtures and signature checks covering them. I found no correctness or maintainability issues.

Source-only review; I did not run local tests or regenerate the SDK. Public CI is still running.

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved after static review of cfc6b7a, including independent reviews of the Responses models/wrappers, realtime/error compatibility, and admin/schema changes. No actionable findings. Image options preserve serialization and structured-wrapper delegation; noise-reduction strength follows existing optional-field behavior; all four released beta Realtime accessors remain covered by the compatibility fixture. Admin service changes only reorder existing members, and the schema has no endpoint or authentication changes.

Hosted lint, build logic, version support matrix and dependency submission passed. Public build and OkTest are still running; downstream CI remains to be verified. No candidate code, tests or regeneration run locally.

@dpiet-oai
dpiet-oai merged commit c50def0 into main Nov 4, 2026
14 checks passed
@openai-sdks openai-sdks Bot mentioned this pull request Nov 4, 2026
VitorEAFeliciano pushed a commit to Navegos/openai-java that referenced this pull request Nov 18, 2026
Automated Release PR
---


##
[4.100.0](openai/openai-java@v4.99.0...v4.100.0)
(2026-11-05)


### Features

* **api:** add image complexity and GIF and SVG output controls
([openai#1339](openai#1339))
([45b63e2](openai@45b63e2))
* **api:** expand agent turn errors and image and audio options
([openai#1334](openai#1334))
([c50def0](openai@c50def0))

---
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>
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.

3 participants