
Your agent loops forever. It is probably tool_choice.
Your agent calls the same tool repeatedly and never returns an answer. The advice you will find first is to set maxiterations, which caps your bill without addressing the underlying defect.
Wed Aug 19 2026 · 6 min read · 0 views