A final answer produced by the model, a maximum number of steps or tool calls, a token or cost budget, a wall-clock timeout, and detection of repeated identical calls or no progress.
On hitting a limit, return what was done, explain what is missing, and escalate to a human or a fallback rather than looping silently.
Make completion explicit when possible (a "finish" tool or structured final answer) so success criteria are checkable.
Loading…