Vercel AI SDK 发布 ai@7.0.79,新增批量完成 Webhooks 功能
原标题:ai@7.0.79
AI 摘要
Vercel AI SDK 发布 ai@7.0.79 版本,主要更新包括:修复合并 UI 消息流完成步骤时保留活动文本和推理部分的问题,并统一工作流流归一化;新增批量完成 webhooks 功能,experimental_startTextBatch 支持 webhookUrl,网关提供商通过批量 callbackUrl 契约注册并导出类型化异步任务元数据,而直接使用 Anthropic 和 OpenAI 批量提供商时若提供该选项会返回不支持警告;当提供商省略 finishReason 但返回文本时,解析结构化 generateText 输出。
正文节选
### Patch Changes - b251584: Preserve active text and reasoning parts when another merged UI message stream finishes a step, and align workflow stream normalization with the explicit part end chunks. - 591d25b: feat: add batch completion webhooks. `experimental_startTextBatch` accepts a `webhookUrl`, and the gateway provider registers it through the batch `callbackUrl` contract and exports typed async-job metadata. Direct Anthropic and OpenAI batch providers return an unsupported warning when t