1votes
1answer
8 views
When a tool returns an error my agent just calls it again with the same args, indefinitely. I expected it to adapt. Using a basic ReAct loop.
OpenAI · v5 · released Aug 2025
OpenAI flagship model.
When a tool returns an error my agent just calls it again with the same args, indefinitely. I expected it to adapt. Using a basic ReAct loop.
I need guaranteed parseable JSON. Response format json object helps but it still occasionally wraps things in prose or markdown fences. What is the current best practice?