# ai@7.0.106

Category: agent-infrastructure
Published: 2026-09-18T04:58:40Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.106)
Agent usefulness: 82/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-21T16:17:25.822Z
Tags: vercel, ai-sdk, typescript

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

## Agent 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.

## Body
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.

## Recommended actions
- 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.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.