nwhitehouse puts a leash on the assistant's tool-calling
A new guardrail stops the AI from spinning in circles when a tool keeps failing, and steers it toward an answer instead of a timeout.
nwhitehouse added a watchdog that counts how many times the assistant reaches for a tool inside a single turn. If it takes too many steps, repeats the exact same call over and over, or simply runs too long, the watchdog steps in.
What makes this thoughtful is how it intervenes. Rather than cutting the assistant off mid-thought, it hands back the data already gathered along with a nudge to stop fetching and write a final answer. So you get a partial-but-real response instead of an error screen. Every intervention is logged as an audit event, and the limits can be loosened for heavier research-style sessions that legitimately need to call more tools. The defaults are tuned for ordinary questions that touch one to three tools.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?