Skip to content

feat(api): add shida to named Live voices - #1163

Merged
jbeckwith-oai merged 1 commit into
mainfrom
castiron/promotions/pr-235
Oct 11, 2026
Merged

jbeckwith-oai merged 1 commit into
mainfrom
castiron/promotions/pr-235

Conversation

@jbeckwith-oai

Copy link
Copy Markdown
Contributor

Summary

Adds shida to the named built-in Live voices.

Changes

  • Expose shida in the built-in voice type while retaining all existing voice names and open-string inputs.

Castiron-Internal-PR: openai/openai-java-internal#235
Castiron-Source-SHA: 3333fe3bbf5691a5c362521238bdab021db3a195
Castiron-Public-Base-SHA: d3f1053
@jbeckwith-oai
jbeckwith-oai marked this pull request as ready for review October 11, 2026 01:53
@jbeckwith-oai
jbeckwith-oai requested a review from a team as a code owner October 11, 2026 01:53
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 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-10-11T01:55:07.755728Z 8dd467d Draft marked ready
🔒 Security Review ✅ Completed 2026-10-11T01:55:39.338825Z 8dd467d Draft marked ready
ℹ️ 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.

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Castiron custom code

Evaluated main: d3f1053b905da920e69692ed3856e41bf10b3cd8.

Mixed files: 105 → 108

3 newly customized · 0 customizations removed · 0 existing customizations changed · 3 generated baselines changed

Compared d3f1053b905d → 8dd467d8456c. Generated baselines verified.

File Result Current custom patch
scripts/castiron/custom_code_budget.py Generated baseline changed +1 / −1
scripts/castiron/custom_code_report.py Generated baseline changed +2 / −1
scripts/castiron/test_custom_code_budget.py Generated baseline changed +1 / −1
105 existing customizations unchanged
  • openai-java-core/src/main/kotlin/com/openai/models/audio/AudioResponseFormat.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/agents/environments/EnvironmentCreateParams.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/agents/vaults/credentials/CredentialAuth.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/agents/vaults/credentials/CredentialAuthCreateParam.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/agents/vaults/credentials/CredentialAuthRotateParam.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/responses/BetaResponse.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/responses/BetaResponseInjectEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/responses/BetaResponseInjectFailedEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/responses/BetaResponseStreamEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/responses/BetaResponseToolSearchOutputItemParam.kt
  • openai-java-core/src/main/kotlin/com/openai/models/beta/responses/BetaResponsesServerEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/chat/completions/ChatCompletionCreateParams.kt
  • openai-java-core/src/main/kotlin/com/openai/models/chat/completions/ChatCompletionMessageFunctionToolCall.kt
  • openai-java-core/src/main/kotlin/com/openai/models/chat/completions/ChatCompletionToolMessageParam.kt
  • openai-java-core/src/main/kotlin/com/openai/models/conversations/ConversationCreateParams.kt
  • openai-java-core/src/main/kotlin/com/openai/models/conversations/items/ItemCreateParams.kt
  • openai-java-core/src/main/kotlin/com/openai/models/embeddings/Embedding.kt
  • openai-java-core/src/main/kotlin/com/openai/models/embeddings/EmbeddingCreateParams.kt
  • openai-java-core/src/main/kotlin/com/openai/models/live/ResponseItemCreateEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/Response.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseCreateParams.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseFunctionToolCall.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseFunctionWebSearch.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseInputItem.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseStreamEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseTextConfig.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseToolSearchOutputItemParam.kt
  • openai-java-core/src/main/kotlin/com/openai/models/responses/ResponsesServerEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/videos/Video.kt
  • openai-java-core/src/main/kotlin/com/openai/models/webhooks/UnwrapWebhookEvent.kt
  • openai-java-core/src/main/kotlin/com/openai/models/webhooks/WebhookEndpointWithSecret.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/BetaServiceAsync.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/BetaServiceAsyncImpl.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/ImageServiceAsyncImpl.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/ResponseServiceAsync.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/ResponseServiceAsyncImpl.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/SkillServiceAsyncImpl.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/VideoServiceAsyncImpl.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/WebhookServiceAsync.kt
  • openai-java-core/src/main/kotlin/com/openai/services/async/WebhookServiceAsyncImpl.kt

65 more in the full report.

A changed generated baseline means this report cannot reliably identify which handwritten lines changed.

Inspect the custom-code diff

Download the exact patch produced by this run (requires repository access):

gh run download 38103351642 --repo openai/openai-java \
  --name castiron-custom-code-38103351642-1 --dir /tmp/castiron-custom-code-38103351642-1
git apply --stat /tmp/castiron-custom-code-38103351642-1/custom-code.patch
cat /tmp/castiron-custom-code-38103351642-1/custom-code.patch

Or reproduce it from an SDK checkout containing the vendored reporter:

git fetch --no-tags origin d3f1053b905da920e69692ed3856e41bf10b3cd8 8dd467d8456cd6760a844d1bca7ca2493f2cc696
python3 scripts/castiron/custom_code_report.py report \
  --base d3f1053b905da920e69692ed3856e41bf10b3cd8 \
  --head 8dd467d8456cd6760a844d1bca7ca2493f2cc696 --fetch --require-head-hash --public \
  --out /tmp/castiron-custom-code-8dd467d8456c
cat /tmp/castiron-custom-code-8dd467d8456c/custom-code.patch

This is the current full custom patch for mixed files, not an attribution of only the handwritten lines changed by this PR.

Full report and patch

@openai-sdks

openai-sdks Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

OkTest Summary

✅ 236/236 SDK tests passed in 15.598s for Java SDK PR #1163.

Test results — 42 files
Test Result Time
tests/chat-completions-complex-body.test.ts ✅ Passed 172ms
tests/chat-completions-create.test.ts ✅ Passed 668ms
tests/chat-completions-stream.test.ts ✅ Passed 765ms
tests/files-content-binary.test.ts ✅ Passed 259ms
tests/files-create-multipart.test.ts ✅ Passed 508ms
tests/files-list-pagination.test.ts ✅ Passed 251ms
tests/initialize-config.test.ts ✅ Passed 192ms
tests/instance-isolation.test.ts ✅ Passed 263ms
tests/models-list.test.ts ✅ Passed 258ms
tests/responses-background-lifecycle.test.ts ✅ Passed 227ms
tests/responses-body-method-errors.test.ts ✅ Passed 518ms
tests/responses-cancel-timeout.test.ts ✅ Passed 290ms
tests/responses-cancel.test.ts ✅ Passed 241ms
tests/responses-compact-retries.test.ts ✅ Passed 419ms
tests/responses-compact.test.ts ✅ Passed 246ms
tests/responses-create-advanced-stream.test.ts ✅ Passed 728ms
tests/responses-create-advanced.test.ts ✅ Passed 1.554s
tests/responses-create-disconnect.test.ts ✅ Passed 1.13s
tests/responses-create-errors.test.ts ✅ Passed 381ms
tests/responses-create-malformed-api-responses.test.ts ✅ Passed 275ms
tests/responses-create-retries.test.ts ✅ Passed 408ms
tests/responses-create-stream-failures.test.ts ✅ Passed 277ms
tests/responses-create-stream-timeout.test.ts ✅ Passed 258ms
tests/responses-create-stream-wire.test.ts ✅ Passed 5.181s
tests/responses-create-stream.test.ts ✅ Passed 447ms
tests/responses-create-terminal-states.test.ts ✅ Passed 411ms
tests/responses-create-timeout.test.ts ✅ Passed 241ms
tests/responses-create.test.ts ✅ Passed 1.024s
tests/responses-delete.test.ts ✅ Passed 268ms
tests/responses-input-items-errors.test.ts ✅ Passed 257ms
tests/responses-input-items-list.test.ts ✅ Passed 379ms
tests/responses-input-items-options.test.ts ✅ Passed 390ms
tests/responses-input-tokens-count-timeout.test.ts ✅ Passed 244ms
tests/responses-input-tokens-count.test.ts ✅ Passed 266ms
tests/responses-malformed-inputs.test.ts ✅ Passed 3.803s
tests/responses-not-found-errors.test.ts ✅ Passed 368ms
tests/responses-parse.test.ts ✅ Passed 847ms
tests/responses-retrieve-retries.test.ts ✅ Passed 279ms
tests/responses-retrieve.test.ts ✅ Passed 327ms
tests/responses-stored-method-errors.test.ts ✅ Passed 983ms
tests/retry-behavior.test.ts ✅ Passed 3.612s
tests/sdk-error-shape.test.ts ✅ Passed 540ms

View OkTest run #38103329038

SDK merge (a6118aae51c1) · head (8dd467d8456c) · base (d3f1053b905d) · OkTest (57341bb8c17e)

@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 8dd467d. No actionable findings.

The new SHIDA constant, both enum entries, and both mappings agree on shida. All 22 existing voice names and wire values remain intact. The string overload and unknown-value handling remain unchanged, and the full API reference differs only by the new voice entry. The change follows the existing generated structure without adding complexity.

Source and static review only; I did not run repository tests or generation. The build and external OkTest run were still in progress at the final check, so those gates remain pending.

@jbeckwith-oai
jbeckwith-oai added this pull request to the merge queue Oct 11, 2026
Merged via the queue into main with commit 22bd97e Oct 11, 2026
17 checks passed
@openai-sdks openai-sdks Bot mentioned this pull request Oct 11, 2026
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