ai@7.0.122
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.
Why this signal matters
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.
Actionable 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.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- 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.