codex/codex-rs/utils/audio
pakrym-oai 5ef96ab278 Add opt-in output token replay for OpenAI requests (#52742)
## What changed

- Add the disabled-by-default `output_token_replay` feature to request `output.encrypted_content` from OpenAI providers.
- Preserve encrypted message and tool-call output, message and function-call status, and output-text `annotations` and `logprobs` through history and replay. Update the generated protocol schemas and SDK types.
- Strip output ciphertext from requests to other providers while retaining it in stored history, including after replay is disabled. Remove encrypted content from memory extraction inputs.

## Testing

Add integration coverage for the feature/provider combinations, metadata replay across follow-up requests, and history preservation when resuming with replay disabled.

GitOrigin-RevId: 77729a021b6771933402aebe74ece8eb39c057e2
History 2026-10-10 01:25:00 +00:00
..
src Add opt-in output token replay for OpenAI requests (#52742) 2026-10-10 01:25:00 +00:00
BUILD.bazel Extract audio preparation into a utility crate (#36807) 2026-08-03 22:46:26 +00:00
Cargo.toml Extract audio preparation into a utility crate (#36807) 2026-08-03 22:46:26 +00:00