# ai@7.0.154

Category: agent-infrastructure
Published: 2026-10-26T18:57:14Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.154)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-26T22:17:50.793Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK 7.0.154 adds new error handling callbacks (onStepError, onError, onAbort), experimental steering capabilities, and telemetry improvements including an aiVersion attribute.

## Agent Summary
ai@7.0.154 introduces onStepError to generateText, streamText, and ToolLoopAgent; adds onError and onAbort to ToolLoopAgent; adds experimental steering to text generation and ToolLoopAgent; and includes aiVersion in telemetry events.

## Body
Vercel released ai@7.0.154 containing several patch changes. It introduces the onStepError callback to generateText, streamText, ToolLoopAgent, and telemetry integrations, alongside onError and onAbort callbacks specifically for ToolLoopAgent. Additionally, experimental steering has been added to generateText, streamText, and ToolLoopAgent. Telemetry events now include aiVersion to allow tracing-channel subscribers and telemetry integrations to determine the emitting ai package version in bundled or multi-version environments. Internal dependencies @ai-sdk/provider-utils and @ai-sdk/gateway were updated.

## Recommended actions
- Adopt onStepError in generateText, streamText, or ToolLoopAgent if step-level failure handling is required.
- Implement onError and onAbort callbacks when managing ToolLoopAgent execution lifecycles.
- Evaluate experimental steering options in generateText, streamText, and ToolLoopAgent if dynamic steering is needed.
- Update telemetry integrations or tracing-channel listeners to leverage the new aiVersion attribute.

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