- capture the header from SSE/WS handshakes, store it per ModelClientSession using `Oncelock`, echo it on turn-scoped requests, and add SSE+WS integration tests for within-turn persistence + cross-turn reset. - keep `x-codex-turn-state` sticky within a user turn to maintain routing continuity for retries/tool follow-ups. |
||
|---|---|---|
| .. | ||
| clients.rs | ||
| models_integration.rs | ||
| sse_end_to_end.rs | ||