@ai-sdk/openai
4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed
Your version
3.0.136 is the newest release of 3.x.
In short
1 new1 fixed
Release note
Patch Changes
Add
gpt-5.4-mini,gpt-5.4-mini-2026-03-17,gpt-5.4-nano, andgpt-5.4-nano-2026-03-17models.openai: Preserve raw finish reason for failed responses stream events
Handle
response.failedchunks in Responses API streaming sofinishReason.rawis preserved fromincomplete_details.reason(e.g.max_output_tokens), and map failed-without-reason cases to unifiederrorinstead ofother.