DEFAULT_MAX_ITERATIONS

Constant DEFAULT_MAX_ITERATIONS 

Source
pub const DEFAULT_MAX_ITERATIONS: usize = 25;
Expand description

Default value for AgentConfig::max_iterations.

Mirrors DEFAULT_MAX_TOOL_ITERS = 25 from the TypeScript frontend. Used both in AgentConfig::default and in super::events::AGENT_EVENT_CHANNEL_CAPACITY so the channel size automatically scales with the iteration ceiling.