@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Your version
4.0.108 is the newest release of 4.x.
In short
1 fixed1 internal
Release note
Patch Changes
Restore raw OpenAI custom-tool input deltas for consumers that forward them to Responses API clients. Mark streamed input with
inputEncoding: 'text'so UI clients can display it progressively without JSON parsing. Preserve the encoding when partial UI messages are saved and resumed. Final provider tool-call inputs remain JSON-encoded.