mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-22 09:53:02 +08:00
- Extract error headers from nested Codex error and response.error payloads while keeping outer header precedence. - Parse Retry-After hints on 502/503 and other recoverable transient status codes across terminal, WebSocket, and bootstrap failover paths. - Add regression tests covering captured WS overload payloads, explicit 503 responses, header precedence, and cooldown scheduling. Closes: #7600 Conflicts: internal/runtime/executor/codex_executor_stream.go internal/runtime/executor/codex_websockets_errors.go internal/runtime/executor/codex_websockets_stream.go