Packages

@ai-sdk/openai

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

Your version

2.0.96

5 Mar 2026Where it was published

2.0.140 is the newest release of 2.x.

In short

1 new

Release note

Patch Changes

  • Support phase parameter on Responses API message items. The phase field ('commentary' or 'final_answer') is returned by models like gpt-5.3-codex on assistant message output items and must be preserved when sending follow-up requests. The phase value is available in providerMetadata.openai.phase on text parts and is automatically included on assistant messages sent back to the API.