返回全部动态
Vercel AI SDK 7.0.102:新增 WebRTC 与 OpenAI Live 支持
原标题:ai@7.0.102
AI 摘要
Vercel AI SDK 发布 ai@7.0.102 补丁版本,为实验性 Live 会话新增可选的浏览器直连 WebRTC 路径,与现有 WebSocket 路径并存。同时通过统一的 openai.experimental_realtime 工厂加入实验性 OpenAI Live 提供商支持,用于带客户端委派的服务端 WebSocket 会话。更新还修复了 UI 流中自动拒绝工具调用的结算问题,并报告异常实时 WebSocket 关闭码与原因。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - 5c0054d: Add optional browser-direct WebRTC for experimental client-delegated Live conversations alongside the existing WebSocket path. Exchange SDP through an application endpoint with `api.session`, configure server-owned data-channel permissions, and preserve committed React session ownership. Capture follows the selected sender track, borrowed tracks remain caller-owned, and disconnect recovery and finalization stay bounded. Applications continue to handle client delegat
发布时间:2026-09-16 01:21
抓取时间:2026-09-16 01:34
来源机构:Vercel