Packages

@ai-sdk/openai

4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.98

20 Oct 2026Where it was published

4.0.108 is the newest release of 4.x.

In short

1 new2 fixed1 internal

Release note

Patch Changes

  • Add maxOutputTokens and reasoning to experimental decision calls and forward them to language-model-backed decisions. Language-model adapters keep reasoning disabled when omitted. Native decision providers warn when either setting is unsupported.

  • openai: Preserve detected language codes in transcription responses

  • openai: Forward shell_call timeout_ms and max_output_length to the shell tool and round-trip max_output_length