mirror of
https://github.com/openai/codex.git
synced 2026-09-02 14:49:14 +00:00
## 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
codex-protocol
This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.
This crate should have minimal dependencies.
Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.