mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 16:06:08 +00:00
Send SSE keepalive comments after 15 seconds without output while preserving the pending execution future. Disable response buffering and transformation so long compaction requests can maintain the downstream connection. Cover four minutes of upstream silence, cancellation, first-event commitment, and conflicting upstream headers. Document transport errors and the separate Codex event idle timeout. Validation: 259 gateway-api tests and Clippy passed with serde/rc enabled; cargo fmt and git diff --check passed. Co-authored-by: Codex <noreply@openai.com>