Add audio output support to dynamic tools and code mode - #34080
Merged
copyberry[bot] merged 1 commit intoJul 18, 2026
Merged
Conversation
## 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
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/1ed52a8f9c62d4840fb71c5ec736b4a3566243d6
branch
from
July 18, 2026 23:23
e2a7d0d to
643de86
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/1ed52a8f9c62d4840fb71c5ec736b4a3566243d6
branch
July 18, 2026 23:24
dimasyankauskas
temporarily deployed
to
issue-triage
July 18, 2026 23:55 — with
GitHub Actions
Inactive
dimasyankauskas
temporarily deployed
to
issue-triage
July 18, 2026 23:55 — with
GitHub Actions
Inactive
dimasyankauskas
temporarily deployed
to
issue-triage
July 18, 2026 23:55 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add audio output support to dynamic tools and code mode
What changed
inputAudiocontent items to dynamic tool responses, app-server events, thread history, and generated protocol schemas.audio()code-mode helper that accepts inline data URLs, audio URL objects, and MCP audio blocks.Testing