Skip to main content

cycle

Function cycle 

Source
fn cycle(messages: &[Message], turns: usize) -> HandoffCycle
Expand description

The cycle a handoff ends: one request per assistant row that carries a usage block, one turn per real user prompt, and the prompt tokens the model read.