Skip to content

Add audio output support to dynamic tools and code mode - #34080

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1ed52a8f9c62d4840fb71c5ec736b4a3566243d6
Jul 18, 2026
Merged

Add audio output support to dynamic tools and code mode#34080
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/1ed52a8f9c62d4840fb71c5ec736b4a3566243d6

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 18, 2026

Copy link
Copy Markdown

Add audio output support to dynamic tools and code mode

What changed

  • Add inputAudio content items to dynamic tool responses, app-server events, thread history, and generated protocol schemas.
  • Add an audio() code-mode helper that accepts inline data URLs, audio URL objects, and MCP audio blocks.
  • Convert MCP audio blocks into model input when audio is supported, and replace unsupported audio with an explanatory text item.
  • Reject non-data audio URLs and track audio item counts in dynamic tool analytics.

Testing

  • Cover audio serialization, protocol round trips, thread-history conversion, MCP modality filtering, code-mode helper inputs, and invalid URL handling.

## What changed

- Add `inputAudio` content items to dynamic tool responses, app-server events, thread history, and generated protocol schemas.
- Add an `audio()` code-mode helper that accepts inline data URLs, audio URL objects, and MCP audio blocks.
- Convert MCP audio blocks into model input when audio is supported, and replace unsupported audio with an explanatory text item.
- Reject non-data audio URLs and track audio item counts in dynamic tool analytics.

## Testing

- Cover audio serialization, protocol round trips, thread-history conversion, MCP modality filtering, code-mode helper inputs, and invalid URL handling.

GitOrigin-RevId: 1ed52a8f9c62d4840fb71c5ec736b4a3566243d6
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/1ed52a8f9c62d4840fb71c5ec736b4a3566243d6 branch from e2a7d0d to 643de86 Compare July 18, 2026 23:23
@copyberry
copyberry Bot merged commit 643de86 into main Jul 18, 2026
31 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/1ed52a8f9c62d4840fb71c5ec736b4a3566243d6 branch July 18, 2026 23:24
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 18, 2026
@taf2
taf2 temporarily deployed to issue-triage July 18, 2026 23:36 — with GitHub Actions Inactive
@taf2
taf2 temporarily deployed to issue-triage July 18, 2026 23:36 — with GitHub Actions Inactive
@taf2
taf2 temporarily deployed to issue-triage July 18, 2026 23:36 — with GitHub Actions Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants