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.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
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.
可执行摘要
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 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- 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.