Agent InfrastructureAutomated release watch

ai@7.0.160

Vercel AI SDK 7.0.160 introduces steering.queue() for delayed messaging, fixes a dataPartSchemas validation bug in useChat, and clarifies smoothStream error messaging.

Human read

Why this signal matters

Vercel AI SDK release ai@7.0.160 includes several fixes and additions: (1) Added steering.queue() to send a message once the current task finishes. (2) Fixed an issue where processUIMessageStream queried dataPartSchemas using full chunk types (e.g., data-weather ) instead of the bare name ( weather ), meaning streamed data parts were bypassed in useChat / Chat ; invalid parts will now trigger a TypeValidationError . (3) Clarified the inverted smoothStream prefix error message. (4) Updated dependencies, including @ai-sdk/gateway@4.0.133 .

Agent parse

Actionable summary

Vercel AI SDK release ai@7.0.160 adds steering.queue() to send messages after task completion, fixes streamed data part validation against dataPartSchemas (raising TypeValidationError on failure), and clarifies the inverted smoothStream prefix error message.

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

What builders should check

  • Verify client-side handling of TypeValidationError in useChat or Chat components, as invalid streamed data parts will now throw errors instead of passing unvalidated.
  • Upgrade to ai@7.0.160 if using steering queues or custom dataPartSchemas .
Classification

Tags and routing

vercelai-sdktypescript
Related signals

Continue the thread