@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/openai From 4.0.104 to 4.0.108
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
4.0.108nothing new or fixed in the note
- 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. Warn when these REST-only options are supplied to streaming transcription.
- fixed
- new
Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated request while preserving existing authentication behavior and synchronous credential serialization.
- new
Introduce a model entry contract with named capability sections and request configuration. Consolidate the OpenAI and Anthropic model catalogs so existing request behavior and generated capability documentation use the same source of truth. Catalogs also declare the provider options each provider accepts and which models support them.
- new
- new
openai: Send native JSON input and prompt cache keys to Decisions
- fixed
openai: Map top-level
reasoningto efforts supported by GPT-5.x models instead of sending unsupported values that OpenAI rejects with a 400.maxis now only sent on the Responses API, and GPT-5.6 on Chat Completions sendsreasoning_effort: 'none'when function tools are used, since it rejects function tools with reasoning. A warning is emitted when a reasoning level was requested. - fixed
Map the top-level
reasoningoption consistently across providers
- new
4 internal lines (docs, tests, tooling) left out.