+

The maxAutomaticRoundtrips parameter of streamText function allows you to automatically handle multiple tool call roundtrips using Vercel AI SDK in your application.

Learn more about Tool Roundtrips from the Vercel AI SDK.

View Source CodeDeploy with Vercel