Agent InfrastructureAutomated release watch

ai@7.0.106

Vercel AI SDK 7.0.106 brings multiple bug fixes targeting stream handling, tool call serialization, cancellation behavior, and metadata tracking.

Human read

Why this signal matters

Version 7.0.106 of ai delivers a collection of patch fixes across streaming and agent tool lifecycles. Key fixes include: preserving provider metadata during simulated text streams; reporting the prepareStep model in streamed step results and using it for metadata fallbacks; preventing unhandled rejections on premature UI message stream termination; preserving prototype-named properties in tool outputs; retaining tool calls tied to pending approvals; properly closing telemetry spans when streams fail; canceling prompt attachment downloads upon call aborts or timeouts; and streaming structured output from final tool-loop steps alongside null and empty string JSON partials. It also updates dependencies on @ai-sdk/gateway and @ai-sdk/provider-utils.

Agent parse

Actionable summary

Vercel AI SDK patch release ai@7.0.106 resolves issues in multi-step and simulated text streaming, early stream abort/rejection handling, tool execution lifecycle (including approval retention and invalid tool call callbacks), JSON fence stripping, and telemetry span closing.

Agent usefulness
82/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Upgrade ai to version 7.0.106 via npm or yarn if experiencing streaming abort errors, missing telemetry span closures, or issues with tool call metadata during multi-step runs.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread