Hello,
I’ve been using useChat and streamText to build a chat bot.
Everything works fine, only one issue which is annoying.
I have 1 client-side tool which gets executed to receive user confirmation.
Once user confirms, it records the call but then the tool gets executed again.
Any idea? I’m using addToolResult to record the result.