Skip to main content

DEFAULT_MAX_CALLS_PER_TURN

Constant DEFAULT_MAX_CALLS_PER_TURN 

Source
pub const DEFAULT_MAX_CALLS_PER_TURN: usize = 64 /* 64usize */;
Available on crate feature tool-loop only.
Expand description

The tool calls one model reply may make when none is set.

The first this many run and the rest are dropped. A model that writes a hundred calls in one reply is broken or hostile, and with no bound a reply of 90,000 of them took a loop from 21 MB to 1.4 GB (hostile campaign, wave 2, W2-LIVE-5).