Agent InfrastructureAutomated release watch

ai@7.0.182

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.

Human read

Why this signal matters

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 .

Agent parse

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

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

What builders should check

  • Upgrade ai to version 7.0.182 if using WebSocket realtime audio features with barge-in/interruption capabilities.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread