ai@7.0.127
Vercel AI SDK 7.0.127 introduces tool search enhancements including a search() callback and configurable maxResults, alongside fixes for consumer stream disconnection and cross-realm tool approval inputs.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK released patch version ai@7.0.127. Key feature updates include the ability to select and rank eligible deferred tools using a 'search()' callback during tool search, along with a configurable 'maxResults' setting to limit the returned tools. Bug fixes address the cancellation of merged UI message streams upon consumer disconnection and ensure unchanged tool approval inputs originating from different JavaScript realms are properly accepted. Dependency updates include @ai-sdk/gateway@4.0.103.
可执行摘要
ai@7.0.127 adds a search() callback to rank and select deferred tools, introduces a maxResults option for tool search, cancels merged UI message streams on consumer disconnect, and fixes tool approval inputs from alternate JS realms.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to ai@7.0.127 to leverage deferred tool search improvements and fixes for UI message stream cancellations.