Packages

@ai-sdk/openai

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

Your version

3.0.8

12 Jan 2026Where it was published

3.0.136 is the newest release of 3.x.

In short

1 fixed

Release note

Patch Changes

  • Fix Responses code_interpreter annotations and add typed providerMetadata

    • Align Responses API code_interpreter annotation types with the official spec.

    • Add tests to ensure the overlapping parts of the Zod schemas used by doGenerate and doStream stay in sync.

    • Export the following types for use in client code:

      • OpenaiResponsesTextProviderMetadata

      • OpenaiResponsesSourceDocumentProviderMetadata

      • AzureResponsesTextProviderMetadata

      • AzureResponsesSourceDocumentProviderMetadata