@ai-sdk/openai
4.0.121 · 17 Nov 2026Apache-2.025.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @ai-sdk/openai From 2.0.140 to 2.0.143
3 releases in betweenevery note read
Release by release
- New
Support positioned Responses API format updates so changing structured output schemas can preserve earlier reasoning and prompt cache reuse. Add a stable request-level text format override and expose prompt cache comparison diagnostics for generation and streaming results.
- New
2.0.142nothing new or fixed in the note
- Fixed
openai: Surface Chat Completions refusals as text content
- Fixed
openai,openai-compatible: Surface refusal logprobs and openai-compatible refusals
- Fixed
openai: Handle refusal content parts in the Responses API
- Fixed
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.