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.
Why this signal matters
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 .
Actionable summary
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 usefulness
- 82/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- 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.