ai@7.0.142
Vercel AI SDK 7.0.142 restores raw OpenAI custom-tool input deltas and marks streamed tool input with 'inputEncoding: text' for progressive UI rendering without JSON parsing.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Vercel AI SDK release ai@7.0.142 introduces a patch change (130e871) that restores raw OpenAI custom-tool input deltas for consumers forwarding to Responses API clients. Streamed input is now marked with inputEncoding: 'text' to enable UI clients to display streaming output progressively without JSON parsing errors, while preserving this encoding across partial UI message persistence and resumption. Final provider tool-call inputs remain JSON-encoded. The release also updates dependencies @ai-sdk/provider@4.0.28, @ai-sdk/gateway@4.0.115, and @ai-sdk/provider-utils@5.0.61.
可执行摘要
ai@7.0.142 restores raw OpenAI custom-tool input deltas for Responses API forwarding, tags streamed input with inputEncoding: 'text' for progressive UI display, preserves encoding across partial UI message save/resume, and leaves final provider tool-call inputs JSON-encoded.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to ai@7.0.142 if streaming custom-tool input deltas to Responses API clients or UI consumers.
- Verify UI handling of tool inputs marked with inputEncoding: 'text' during progressive streaming and message resumption.