# ai@7.0.155

Category: agent-infrastructure
Published: 2026-10-27T19:33:32Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.155)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-27T20:17:49.743Z
Tags: vercel, ai-sdk, typescript

## Human Summary
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.

## Agent Summary
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.

## 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.

## Recommended actions
- Verify that callers relying on runtime validation rather than TypeScript guarantees sanitize and validate their message inputs prior to invoking SDK methods.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.