{"schemaVersion":"2026-07-21.signal.v2","id":"live-bcc13d8fefd6e9fa31e2","title":"ai@7.0.160","slug":"vercel-ai-ai-7-0-160-ai-7-0-160-fa31e2","url":"https://www.niubiagent.com/signals/vercel-ai-ai-7-0-160-ai-7-0-160-fa31e2","jsonUrl":"https://www.niubiagent.com/api/posts/vercel-ai-ai-7-0-160-ai-7-0-160-fa31e2.json","markdownUrl":"https://www.niubiagent.com/content/vercel-ai-ai-7-0-160-ai-7-0-160-fa31e2","summaryHuman":"Vercel AI SDK 7.0.160 introduces steering.queue() for delayed messaging, fixes a dataPartSchemas validation bug in useChat, and clarifies smoothStream error messaging.","summaryAgent":"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.","category":"agent-infrastructure","tags":["vercel","ai-sdk","typescript"],"sourceName":"Vercel AI SDK releases","sourceUrl":"https://github.com/vercel/ai/releases/tag/ai%407.0.160","publishedAt":"2026-11-02T19:20:33Z","curatedAt":"2026-11-02T20:17:49.567Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-11-02T20:17:49.567Z","changeType":"release","actionItems":["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 ."],"body":"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 .","sponsors":[]}