返回全部动态
Vercel AI SDK 7.0.168 发布:useChat 新增消息排队
原标题:ai@7.0.168
AI 摘要
Vercel AI SDK 发布 ai@7.0.168 补丁版本,为 useChat 新增 experimental_queue 功能,用于在响应进行中排队发送消息;同时修复了 toUIMessageStream 对无效工具调用的 onError 重复触发问题,并更新了 @ai-sdk/gateway 与 @ai-sdk/provider-utils 依赖。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - 65aa669: add experimental_queue to useChat to queue messages sent while a response is in progress - 8585d7e: fix(ai): call `toUIMessageStream` `onError` once per invalid tool call - Updated dependencies [5497ff7] - Updated dependencies [88b9575] - @ai-sdk/gateway@4.0.141 - @ai-sdk/provider-utils@5.0.78
发布时间:2026-11-11 01:48
抓取时间:2026-11-11 01:58
来源机构:Vercel