Agent 基础设施官方发布自动监测

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.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

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 解析

可执行摘要

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 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

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

标签与路由

vercelai-sdktypescript
相关信号

继续阅读