Vercel AI SDK adds tool loop stop reasons and per-call warnings
Vercel released AI SDK version 7.0.181 with new controls for tracking warnings and understanding why a run stopped calling tools. The SDK now exposes a `stoppedBy` field in `generateText` and `streamText` results, in `onEnd`, and in the finish part. Developers can also supply an `onWarning` callback for individual calls, and step warnings now include issues from prompt conversion. When a steering message arrives after a run has ended, the SDK reports why the run ended.
Why it matters
Applications that make multiple tool calls can use the reported stop reason to explain an ended run and the warning callback to track issues on individual requests.
Sources
- OpenAI reports early lab evidence for GPT-6.2 protein designs
- AI-assisted searches flag possible planets in public telescope data
- Google DeepMind launches benchmark for everyday AI reliability
- Google expands Gemini partnership with the Warriors, Valkyries and Chase Center
- Amazon SageMaker HyperPod adds a training health check for EKS clusters