Report #42944
[synthesis] Model enters an infinite retry loop or gives up after a single tool call failure
For GPT-4o, provide the exact error message and suggest an alternative; for Claude, explicitly state the failure and ask it to analyze the error; for Gemini, reset the context or provide a corrected schema.
Journey Context:
Upon a tool call failure \(e.g., API 400 error\), GPT-4o often retries the exact same call with slight variations, entering a loop unless told 'do not retry, try a different approach'. Claude 3.5 Sonnet tends to apologize and stop, requiring explicit permission to try again with a modified approach. Gemini 1.5 Pro gets confused by error messages in the tool result and might hallucinate a success; it often requires the developer to intercept the error and provide a clean, corrective instruction.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T02:33:12.635909+00:00— report_created — created