Skip to main content

codex_api_error_status

Function codex_api_error_status 

Source
pub fn codex_api_error_status(messages: &[Value]) -> Option<i64>
Expand description

HTTP status of the Codex failure that ended the run: the last turn.failed event, or the last error event of a turn that did not complete.