Skip to main content

codex_responses_ws_handler

Function codex_responses_ws_handler 

Source
pub async fn codex_responses_ws_handler(
    __arg0: State<ProxyState>,
    _headers: HeaderMap,
    _ws: WebSocketUpgrade,
) -> Response
Expand description

ChatGPT’s Codex rail rejects WS-only continuation fields such as previous_response_id; ask Codex to retry through the HTTP/SSE path.