Quiz 9 Question 12 of 20

An agent loop is designed to run until the model returns no tool calls. During a stress test, the loop executes 200 iterations on a complex task without terminating. The model continues generating tool calls indefinitely. What termination conditions should the architect add to prevent infinite loops?

Select an answer to reveal the explanation.

Motivation