Capturing tool calls and results while streaming with the Vercel AI SDK
Problem I’m developing a Slack AI app and trying to implement a debug mode where the end of the Slack message shows details about tool calls and results. I’m unable to stream text and capture the tools after each step or at the end because accessing the tool data consumes the...