# ai@7.0.178

Category: agent-infrastructure
Published: 2026-11-20T16:51:22Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.178)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-21T16:17:55.323Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK releases published ai@7.0.178. Patch Changes - 0b8cbfa: generateText and streamText passed the messages array that prepareStep returned to tools and tool approval functions as it was. When prepareStep returned the same array for several steps or calls, tool approval functions could not tell the tool calls of one model response from the tool…

## Agent Summary
Treat ai@7.0.178 as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.

## Body
Vercel AI SDK releases published ai@7.0.178. This automated release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: Patch Changes - 0b8cbfa: generateText and streamText passed the messages array that prepareStep returned to tools and tool approval functions as it was. When prepareStep returned the same array for several steps or calls, tool approval functions could not tell the tool calls of one model response from the tool calls of another. The messages array of every step is now created for that step, so the messages that prepareStep returns are copied. - 6815153: fix(ai): forward the preliminary flag on provider-executed tool results in streamText , so preliminary results (e.g. OpenAI image generation previews) are no longer recorded as final tool results in step content and response messages - 15bfd6b: add telemetry, runtime context and lifecycle callbacks to experimental extract - 15bfd6b: redact file urls from download errors sent to telemetry - 2613bb4: fix(ai): build the ai , ai/internal ,…

## Recommended actions
- Review the official Vercel AI SDK releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.

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