# ai@7.0.122

Category: agent-infrastructure
Published: 2026-09-28T21:58:47Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/ai%407.0.122)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-09-29T02:17:26.706Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK 7.0.122 encodes chat IDs in stream reconnection URLs, rejects '.' and '..' IDs, and clarifies error handling behavior for provider tool execution.

## Agent Summary
ai@7.0.122 encodes chat IDs in default stream reconnection URLs to preserve slashes/delimiters, rejects '.' and '..' IDs, clarifies tool execution onError bypass, and updates @ai-sdk/gateway.

## Body
Vercel has released ai@7.0.122 with patch updates. In commit 27ab8d4, chat IDs in default stream reconnection URLs are now encoded to ensure slashes, query delimiters, and fragments stay within the ID, while standalone '.' and '..' IDs are rejected prior to fetching (custom URLs via prepareReconnectToStreamRequest remain unchanged). Commit f3575f8 provides clarification on error handling: provider-executed tool execution errors bypass the UI stream's onError callback to preserve provider error data and runtime messages, while stream errors and invalid tool calls continue using the callback (runtime behavior unchanged). Updated dependencies include @ai-sdk/gateway@4.0.100.

## Recommended actions
- Upgrade to ai@7.0.122 if relying on default stream reconnection URLs with complex or reserved chat IDs.
- Verify that error-handling logic does not depend on UI stream onError callbacks for provider-executed tool execution errors.

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