maxAgentIterations property
int
get
maxAgentIterations
Upper bound on model turns in a native tool-calling loop. Reaching it is an error, not a silent truncation.
Implementation
int get maxAgentIterations => 8;