@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/openai From 3.0.18 to 3.0.136
116 releases in betweennotes for 115
Reading releases, release notes and advisories…
Release by release
- fixed
openai: Preserve valid JSON string tool arguments and serialize BigInt and cycles in tool calls and results, retaining malformed argument replay fallbacks
- fixed
Forward
languagesandkeywordstranscription hints as repeated multipart fields instead of silently dropping them.
- fixed
3.0.135nothing new or fixed in the note
- fixed
openai: Report unfinished web searches as tool errors
- fixed
Report failed and incomplete web searches as tool errors instead of successful tool results in OpenAI Responses API calls.
- fixed
- new
openai: Add GPT-6.1 Terra model support
- fixed
Fix
gpt-transcribeREST transcription. Requests with OpenAI provider options now useresponse_format: 'json'forgpt-transcribeand datedgpt-4o-mini-transcribesnapshots, which rejectverbose_json.durationInSecondsis read fromusage.secondswhen a duration-billed response has no top-levelduration.
- new
- new
Add azure.tools.toolSearch and support azure provider options on responses function tools
- new
- new
openai: Support 12h prompt cache writes and cache prewarming
- fixed
Defer validation schema construction until first use to reduce provider import time.
- new
3.0.130nothing new or fixed in the note
- fixed
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.
- fixed
58 internal lines (docs, tests, tooling) left out.