返回全部动态

Vercel AI SDK 7.0.136 修复流式输出超时

原标题:ai@7.0.136

Vercel AI SDK Releases一手来源API 更新质量 65

AI 摘要

Vercel AI SDK 发布 ai@7.0.136 补丁版本,修复流式输出超时问题:当模型响应结束时停止 chunkMs 和 firstChunkMs 计时,避免长时间运行的本地工具误触发模型输出超时,并为每次重试提供全新的输出超时预算;stepMs 仍覆盖包含本地工具在内的完整步骤。同时更新了依赖 @ai-sdk/gateway@4.0.110。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

### Patch Changes - 7b5497c: Fix streaming output timeouts: stop `chunkMs` and `firstChunkMs` when the model response ends, so long-running local tools do not trigger model output timeouts. Give each retry fresh output timeout budgets. `stepMs` continues to cover the complete step, including local tools. - Updated dependencies [e280aa1] - @ai-sdk/gateway@4.0.110


发布时间:2026-10-09 08:38
抓取时间:2026-10-09 08:45
来源机构:Vercel
阅读原文github.com