ai@7.0.172
Vercel AI SDK 7.0.172 replaces silent global fetches for remote URLs in experimental extract and decide functions with an explicit download hook requirement.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
In Vercel AI SDK release ai@7.0.172, patch 79d2004 modifies the behavior of remote file URLs within experimental extract and experimental decide. Instead of silently downloading remote files via global fetch, callers are now required to provide an explicit experimental download hook. For handling untrusted URLs, developers can configure createDownload({ fetch }) using a DNS-protected transport. Inline file data continues to function without requiring a hook. The release also bumps dependencies for @ai-sdk/provider-utils to 5.0.81 and @ai-sdk/gateway to 4.0.145.
可执行摘要
Vercel AI SDK release ai@7.0.172 requires an explicit experimental download hook (e.g., createDownload({ fetch })) for remote file URLs in experimental extract and decide APIs, removing silent global fetch calls. Inline data remains unchanged.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Update calls using remote file URLs in experimental extract and experimental decide to provide an explicit experimental download hook.
- Implement createDownload({ fetch }) with DNS-protected transport when processing untrusted remote URLs.