# ai@7.0.182

Category: agent-infrastructure
Published: 2026-11-25T21:19:49Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.182)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-26T00:17:48.786Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK 7.0.182 fixes a bug where user interruptions during WebSocket realtime audio barge-in truncated the wrong audio item or offset.

## Agent Summary
Vercel AI SDK 7.0.182 resolves WebSocket realtime audio interruption bugs where barge-in sent truncate events for the latest received chunk with global rather than item-relative offsets. Playback now tracks item-specific positions across chunks and underruns.

## Body
Version 7.0.182 of the ai package introduces a patch fix for WebSocket realtime session barge-in behavior. Previously, interrupting playback triggered conversation-item-truncate against the most recently received audio item using an offset measured from total playback start rather than the specific item start. This caused provider rejections (e.g., offsets exceeding audio length when a short preamble preceded the response) or truncation of the wrong item/position. The update tracks the exact item and relative position of scheduled audio chunks, maintaining proper truncation even across playback underruns. Dependency updates include @ai-sdk/gateway@4.0.155 and @ai-sdk/provider-utils@5.0.84 .

## Recommended actions
- Upgrade ai to version 7.0.182 if using WebSocket realtime audio features with barge-in/interruption capabilities.

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