{"schemaVersion":"2026-07-21.signal.v2","id":"live-92f2bf36af493c498ec8","title":"ai@7.0.155","slug":"vercel-ai-ai-7-0-155-ai-7-0-155-498ec8","url":"https://www.niubiagent.com/signals/vercel-ai-ai-7-0-155-ai-7-0-155-498ec8","jsonUrl":"https://www.niubiagent.com/api/posts/vercel-ai-ai-7-0-155-ai-7-0-155-498ec8.json","markdownUrl":"https://www.niubiagent.com/content/vercel-ai-ai-7-0-155-ai-7-0-155-498ec8","summaryHuman":"Vercel AI SDK 7.0.155 optimizes performance by removing redundant runtime schema validation on inputs already guaranteed by TypeScript types, such as message history.","summaryAgent":"ai@7.0.155 eliminates runtime validation for message schemas (ModelMessage) across streamText, generateText, generateObject, and streamObject, removing linear latency overhead on streamText steps while retaining validation for un-typeable constraints.","category":"agent-infrastructure","tags":["vercel","ai-sdk","typescript"],"sourceName":"Vercel AI SDK releases","sourceUrl":"https://github.com/vercel/ai/releases/tag/ai%407.0.155","publishedAt":"2026-10-27T19:33:32Z","curatedAt":"2026-10-27T20:17:49.743Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-27T20:17:49.743Z","changeType":"release","actionItems":["Verify that callers relying on runtime validation rather than TypeScript guarantees sanitize and validate their message inputs prior to invoking SDK methods."],"body":"In release ai@7.0.155, Vercel AI SDK removed runtime validation for inputs that are already covered by TypeScript types. Specifically, streamText, generateText, generateObject, and streamObject no longer validate messages against the ModelMessage schema, eliminating performance costs that scaled linearly with message history length during each streamText step. Runtime checks were also removed for call settings, steering messages, tool caller configurations, smoothStream chunking, experimental streamSpeech text input, decide state/question shapes, and batch reference versions. The SDK continues to enforce value constraints that TypeScript cannot express, including integer ranges, non-empty collections, unknown keys, non-finite numbers, and circular references in decide JSON input. Associated internal dependencies were also updated.","sponsors":[]}