Files
codex/codex-rs
Charlie Marsh a4ee1058d9 Request omission of preliminary reasoning ciphertext (#63461)
## Why

Reasoning replay only needs the ciphertext from the completed item, so
sending it when the item is first added is unnecessary.

## What changed

Default `x-codex-exclude-stream-fields` to
`reasoning.added.encrypted_content` on Responses HTTP streams and WebSocket
handshakes. Provider-configured values take precedence, and an empty value
opts out. Use a separate header to preserve compatibility with servers that
recognize `x-codex-exclude`.

## Testing

Extend integration tests to cover the default on both transports, provider
overrides, and replay with or without preliminary ciphertext.

GitOrigin-RevId: 83b72e5dd896f96e2793e67f0f05828218b98af7
2026-11-23 22:58:47 +00:00
..
…
…
…