Switching the agent type might help, as different types have different output parsing.
Also going to take a second to plug our agents and tools hub we launched today:
https://discordapp.com/channels/1059199217496772688/1059200134518427678/1128749054407475210Did a ton of testing, and if you can use the function calling API from openAI, it's much more reliable. Here's some benchmark results across a few LLMs and react vs. function api agents