返回全部动态
Vercel AI SDK 发布 ai@7.0.85 补丁更新
原标题:ai@7.0.85
AI 摘要
Vercel AI SDK 发布了 ai@7.0.85 版本,包含多项补丁更新:确保规范哈希保留未定义数组元素位置,修复网关图像生成成本在拆分请求中的汇总问题,修复 Anthropic 提供者在批处理请求中保留原生消息批次计数并支持完整语言模型选项,以及新增功能以暴露单个图像生成调用。同时更新了依赖 @ai-sdk/gateway、@ai-sdk/provider 和 @ai-sdk/provider-utils。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - 55a9981: Ensure canonical hashes preserve undefined array element positions. - dd32de2: fix(ai): sum Gateway image-generation costs across split requests - aa45741: fix(provider/anthropic): preserve native message batch request counts in provider metadata and support the full language-model option surface in batch requests - cc29073: feat(ai): expose individual image generation calls - Updated dependencies [d2507af] - Updated dependencies [aa45741] - @ai-sdk/gateway@4.0.69
发布时间:2026-08-30 16:04
抓取时间:2026-08-30 16:58
来源机构:Vercel