mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## 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