@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/openai From 2.0.122 to 2.0.140
18 releases in betweenevery note read
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
2.0.139nothing 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
- 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.
- fixed
- fixed
Defer validation schema construction until first use to reduce provider import time.
- fixed
- fixed
openai: Send assistant text and function calls with content instead of an item reference when their reasoning was removed
- fixed
- fixed
openai: Replay web search results, including tools with custom names, when response storage is disabled
- fixed
2.0.133nothing new or fixed in the note
10 internal lines (docs, tests, tooling) left out.