@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Your version
2.0.140 is the newest release of 2.x.
In short
1 fixed
Release note
Patch Changes
openai: Allow null/undefined type in streaming tool call deltas
Azure AI Foundry and Mistral deployed on Azure omit the
typefield in
streaming tool_calls deltas. The chat stream parser now accepts a missingtypefield (treating it as"function") instead of throwingInvalidResponseDataError: Expected 'function' type.Fixes #12770