Repository navigation
feat(api): add standalone CSAM moderation models - #1415
Conversation
Castiron-Internal-PR: openai/openai-java-internal#487 Castiron-Source-SHA: bfdbb1ea249bf171a089f11e484c76964a7c7b08 Castiron-Public-Base-SHA: df36afe
Codex Review Summary: ✅ CompletedThis 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. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Approved at e6f7122 after comprehensive static review and an independent language review. No actionable findings. Checked required-field handling, exact JSON aliases, builder immutability, model constant validation, unknown/raw JSON preservation, both model tests and four generated-file hashes. The 96-line schema addition matches the other four SDK changes; existing moderation request/return signatures remain unchanged.
Hosted check snapshot: {"SUCCESS": 10, "IN_PROGRESS": 3}. Static review only; no candidate code or local tests executed.
Automated Release PR --- ## [4.109.0](openai/openai-java@v4.108.0...v4.109.0) (2026-11-18) ### Features * **api:** add standalone CSAM moderation models ([openai#1415](openai#1415)) ([b12ad22](openai@b12ad22)) ### Build System * bump actions/setup-java from 6.1.0 to 6.2.0 ([openai#1405](openai#1405)) ([e271a7b](openai@e271a7b)) * bump com.fasterxml.jackson.core:jackson-databind in / ([openai#1404](openai#1404)) ([db61b4a](openai@db61b4a)) * bump graalvm/setup-graalvm from 1.6.7 to 1.6.8 ([openai#1349](openai#1349)) ([a7b1eb9](openai@a7b1eb9)) --- 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 CsamModerationResponse and CsamModeration so Java callers can represent CSAM classifier results.
Changes