Skip to main content

run_exit_code

Function run_exit_code 

Source
pub fn run_exit_code(r: &RunState) -> i32
Expand description

Map a finished run’s status onto a process exit code, so a caller can tell how a job ended without parsing its output: refusal, budget exhaustion, a missed deadline and an unreachable model each get their own code, and anything still unfinished reports as partial.