Agent InfrastructureAutomated release watch

ai@7.0.169

Vercel AI SDK released ai@7.0.169, migrating internal schemas to Zod Mini for smaller bundle sizes and refining useChat queue behavior for tool approvals and async execution checks.

Human read

Why this signal matters

The patch release ai@7.0.169 introduces two main changes along with dependency updates for @ai-sdk/provider-utils and @ai-sdk/gateway. First, internal validation schemas have been transitioned to Zod Mini to reduce bundle size without altering public message schemas' classic methods, error output, or compatibility across supported Zod 3 and Zod 4 versions. Second, useChat queue management was improved to retain request options when a tool approval is sent first, and to hold queue processing while an asynchronous sendAutomaticallyWhen decision completes.

Agent parse

Actionable summary

ai@7.0.169 replaces internal schemas with Zod Mini to minimize bundle size while retaining Zod 3/4 compatibility for public message schemas. It also preserves request options during tool approvals in useChat queues and pauses the queue during async sendAutomaticallyWhen evaluations.

Agent usefulness
77/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Upgrade the ai package to version 7.0.169 along with related dependencies @ai-sdk/provider-utils and @ai-sdk/gateway.
  • Verify useChat workflows that rely on tool approvals and asynchronous sendAutomaticallyWhen conditions.
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread