Skip to main content

MAX_TOOL_CALLS

Constant MAX_TOOL_CALLS 

Source
pub const MAX_TOOL_CALLS: usize = _; // 50usize
Expand description

Hard max on tool calls per turn. The hook below trips this; rig’s own max_turns is set to the same value as a defense in depth, so whichever fires first surfaces a controllable message.