# ai@7.0.123

Category: agent-infrastructure
Published: 2026-09-30T02:21:24Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.123)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-30T06:17:26.853Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK 7.0.123 introduces SSE heartbeats to prevent idle UI streams from closing, alongside fixes for tool pruning, tool approval overrides, and reasoning tag streaming.

## Agent Summary
ai@7.0.123 fixes idle UI stream closures via optional SSE heartbeats, properly handles superseded tool approvals, preserves partial reasoning tags, prunes tool content when zero trailing messages are retained, and migrates build tooling to tsdown.

## Body
Vercel AI SDK version 7.0.123 delivers several patch updates across streaming and tool execution. Key fixes include adding optional Server-Sent Events (SSE) heartbeats to keep idle UI message streams open, ignoring pending tool approvals when superseded by subsequent user messages, properly pruning all tool content when retaining zero trailing messages, and preserving partial reasoning tags across streamed text part boundaries. Internally, package builds have migrated from tsup to tsdown, and several @ai-sdk core dependencies were updated.

## Recommended actions
- Upgrade ai to 7.0.123 if experiencing closed connections during idle UI streaming or tool approval state conflicts.
- Evaluate configuring optional SSE heartbeats if idle UI connections are prematurely terminating in production.

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