Packages

@ai-sdk/openai

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

Your version

523 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 0.0.21

    5 Jun 2024
    • Feat (provider/openai): support streaming tool calls that are sent in one chunk

  2. 0.0.20

    5 Jun 2024
    • Fix (provider/openai): handle error chunks when streaming

  3. 0.0.19

    5 Jun 2024
    • Fix (provider/openai): return unknown finish reasons as unknown

  4. 0.0.18

    30 May 2024
    • Feat (provider/openai): send user message content as text when possible

  5. 0.0.17

    28 May 2024
    • Feat (provider): implement toolChoice support

  6. 0.0.16

    27 May 2024
    • Fix (provider/openai): remove object type validation

  7. 0.0.15

    27 May 2024
    • Fix (providers): Zod is required dependency

  8. 0.0.13

    15 May 2024
    • Fix (provider/openai): introduce compatibility mode in which "stream_options" are not sent

  9. 0.0.12

    14 May 2024
    • Feat (provider/openai): add gpt-4o to the list of supported models

    • Feat (provider/openai): set stream_options/include_usage to true when streaming

    • Feat (ai/core): add embed function

  10. 0.0.8 – 0.0.114 releases that only update dependencies@ai-sdk/provider 0.0.4@ai-sdk/provider-utils 0.0.7Show each
  11. 0.0.7

    25 Apr 2024
    • Allow optional content to support Fireworks function calling.

  12. 0.0.6

    23 Apr 2024
    • ai/core: Add logprobs support (thanks @SamStenner for the contribution)

    • ai/core: Add support for getting raw response headers.

  13. 0.0.5

    23 Apr 2024
    • breaking

      ai/core: Remove scaling of setting values (breaking change). If you were using the temperature, frequency penalty, or presence penalty settings, you need to update the providers and adjust the setting values.

  14. 0.0.4

    22 Apr 2024
    • Add custom header and OpenAI project support.

  15. 0.0.3

    22 Apr 2024
    • Simplified model construction by directly calling provider functions. Add create... functions to create provider instances.

  16. 0.0.2

    16 Apr 2024
    • Fix build for release.

  17. 0.0.1

    16 Apr 2024
    • Support streams with 'chat.completion' objects.

    • Rename baseUrl to baseURL. Automatically remove trailing slashes.

  18. 0.0.0

    12 Apr 2024