ai@6.0.290
Vercel AI SDK 6.0.290 resolves batching issues for large Google embedding calls, refines tool approval handling and validation, and preserves message metadata.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK version ai@6.0.290 includes several bug fixes and dependency updates: - Google Embeddings: Fixed embedMany calls involving more than 100 values by maintaining multimodal content alignment across automatic batches. Added pre-request content length validation and post-middleware provider option validation per batch. - Tool Approval & Validation: Resolved an issue to allow resuming tool approvals from earlier messages. Added support to execute manually approved tool inputs generated by schema transforms, preserving inputs during revalidation, rejecting histories with mismatched reconstructed schema outputs, and validating transformed UI tool inputs prior to returning them as static tool parts. - UI Messages: Ensures parsed metadata and data values are preserved during UI message validation. - Maintenance & Dependencies: Enabled dead code lint rules; bumped dependencies including @ai-sdk/provider-utils@4.0.54 and @ai-sdk/gateway@3.0.200 .
可执行摘要
Vercel AI SDK release ai@6.0.290 introduces fixes for Google embedMany ( 100 values) multimodal batch alignment, tool approval resumption from prior messages, execution and validation of schema-transformed tool inputs, and UI message metadata preservation.
- Agent 实用度
- 82/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade ai to version 6.0.290 if encountering errors with Google embedMany operations exceeding 100 items.
- Verify tool approval and resumption workflows if using manual tool approvals, schema transforms, or UI tool parts.