Skip to content

Gate audio history by model input modalities - #33982

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

Gate audio history by model input modalities#33982
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c18e47ad602720216303ff9abb5bca4d508391ee

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 18, 2026

Copy link
Copy Markdown

Gate audio history by model input modalities

What changed

  • Add audio to the model input modalities exposed by the protocol and generated app-server schemas.
  • Preserve audio in prompts for models that advertise audio input, and replace historical audio with an omission marker for models that do not.

Testing

  • Cover prompt normalization with and without audio support.
  • Extend the model-switching integration test to verify that switching from a multimodal model to a text-only model strips prior image and audio content.

## What changed

- Add `audio` to the model input modalities exposed by the protocol and generated app-server schemas.
- Preserve audio in prompts for models that advertise audio input, and replace historical audio with an omission marker for models that do not.

## Testing

- Cover prompt normalization with and without audio support.
- Extend the model-switching integration test to verify that switching from a multimodal model to a text-only model strips prior image and audio content.

GitOrigin-RevId: c18e47ad602720216303ff9abb5bca4d508391ee
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c18e47ad602720216303ff9abb5bca4d508391ee branch from 7ec15cf to 56395bd Compare July 18, 2026 09:14
@copyberry
copyberry Bot merged commit 56395bd into main Jul 18, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c18e47ad602720216303ff9abb5bca4d508391ee branch July 18, 2026 09:15
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 18, 2026
@auval
auval temporarily deployed to issue-triage July 18, 2026 09:47 — with GitHub Actions Inactive
@auval
auval temporarily deployed to issue-triage July 18, 2026 09:47 — with GitHub Actions Inactive
@auval
auval temporarily deployed to issue-triage July 18, 2026 09:47 — with GitHub Actions Inactive
@auval
auval temporarily deployed to issue-triage July 18, 2026 09:48 — with GitHub Actions Inactive
@uKER
uKER temporarily deployed to issue-triage July 18, 2026 10:41 — with GitHub Actions Inactive
@uKER
uKER temporarily deployed to issue-triage July 18, 2026 10:41 — with GitHub Actions Inactive
@uKER
uKER temporarily deployed to issue-triage July 18, 2026 10:41 — 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.