Skip to main content

MAX_THINKING_CUTS

Constant MAX_THINKING_CUTS 

pub const MAX_THINKING_CUTS: u32 = 2; // 2u32
Expand description

How many turns in a row may end at the output limit with reasoning only before the run fails (each is continued with THINKING_CUT_TURN and counts as a model call against max_turns). A turn with words or a tool call starts the count again.