Skip to content

fix(deps): update dependency @ai-sdk/openai to v3#5

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-openai-3.x
Open

fix(deps): update dependency @ai-sdk/openai to v3#5
renovate[bot] wants to merge 1 commit intomainfrom
renovate/ai-sdk-openai-3.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Dec 22, 2025

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/openai (source) 2.0.713.0.58 age confidence

Release Notes

vercel/ai (@​ai-sdk/openai)

v3.0.58

Compare Source

Patch Changes
  • 2370948: feat(openai): preserve namespace on function_call output items

v3.0.57

Compare Source

Patch Changes
  • d33e7cc: chore(provider/openai): add type for image model options for type-safe processing

v3.0.55

Compare Source

Patch Changes

v3.0.54

Compare Source

Patch Changes

v3.0.53

Compare Source

Patch Changes
  • 953385d: fix(openai): default undefined tool-call input to empty object before serializing tool arguments

v3.0.52

Compare Source

Patch Changes
  • d42076d: Add AI Gateway hint to provider READMEs

v3.0.51

Patch Changes

v3.0.50

Patch Changes

v3.0.49

Patch Changes
  • bc01093: fix(openai): support file-url parts in tool output content

v3.0.48

Patch Changes
  • 9c548de: Add gpt-5.4-mini, gpt-5.4-mini-2026-03-17, gpt-5.4-nano, and gpt-5.4-nano-2026-03-17 models.

  • bcb04df: fix(openai): preserve raw finish reason for failed responses stream events

    Handle response.failed chunks in Responses API streaming so finishReason.raw is preserved from incomplete_details.reason (e.g. max_output_tokens), and map failed-without-reason cases to unified error instead of other.

v3.0.47

Patch Changes

v3.0.46

Compare Source

Patch Changes
  • 75fc0e7: feat(openai): add new tool search tool

v3.0.45

Compare Source

Patch Changes
  • 023088c: feat(provider/openai): add gpt-5.3-chat-latest

v3.0.44

Compare Source

Patch Changes
  • f4a734a: fix(provider/openai): drop reasoning parts without encrypted content when store: false

v3.0.43

Compare Source

Patch Changes

v3.0.42

Compare Source

Patch Changes
  • 2589004: feat(provider/openai): add GPT-5.4 model support

v3.0.41

Compare Source

Patch Changes

v3.0.40

Compare Source

Patch Changes

v3.0.39

Compare Source

Patch Changes

v3.0.38

Compare Source

Patch Changes
  • 64a8fae: chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAI

v3.0.37

Compare Source

Patch Changes

v3.0.36

Compare Source

Patch Changes
  • 53bdfa5: fix(openai): allow null/undefined type in streaming tool call deltas

    Azure AI Foundry and Mistral deployed on Azure omit the type field in
    streaming tool_calls deltas. The chat stream parser now accepts a missing
    type field (treating it as "function") instead of throwing
    InvalidResponseDataError: Expected 'function' type.

    Fixes #​12770

v3.0.35

Compare Source

Patch Changes
  • 5e18272: fix(openai): include reasoning parts without itemId when encrypted_content is present

    When providerOptions.openai.itemId is absent on a reasoning content part,
    the converter now uses encrypted_content as a fallback instead of silently
    skipping the part with a warning. The OpenAI Responses API accepts reasoning
    items without an id when encrypted_content is supplied, enabling
    multi-turn reasoning even when item IDs are stripped from provider options.

    Also makes the id field optional on the OpenAIResponsesReasoning type to
    reflect that the API does not require it.

    Fixes #​12853

v3.0.34

Compare Source

Patch Changes
  • 66a374c: 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.

v3.0.33

Compare Source

Patch Changes
  • 624e651: Added missing model IDs to OpenAIChatModelId, OpenAIResponsesModelId, OpenAIImageModelId, OpenAISpeechModelId, OpenAITranscriptionModelId, and OpenAICompletionModelId types for better autocomplete support.

v3.0.32

Compare Source

Patch Changes
  • 0c9395b: feat(provider/openai): add gpt-5.3-codex

v3.0.31

Compare Source

Patch Changes
  • d5f7312: fix(openai): change web search tool action to be optional

v3.0.30

Compare Source

Patch Changes
  • ff12133: feat(provider/openai): support native skills and hosted shell

v3.0.29

Compare Source

Patch Changes
  • e2ee705: feat: differentiate text vs image input tokens

v3.0.28

Compare Source

Patch Changes

v3.0.27

Compare Source

Patch Changes
  • 99fbed8: feat: normalize provider specific model options type names and ensure they are exported

v3.0.26

Compare Source

Patch Changes

v3.0.25

Compare Source

Patch Changes

v3.0.24

Compare Source

Patch Changes

v3.0.23

Compare Source

Patch Changes

v3.0.22

Compare Source

Patch Changes
  • 1524271: chore: add skill information to README files

v3.0.21

Compare Source

Patch Changes
  • 2c70b90: chore: update provider docs

v3.0.20

Compare Source

Patch Changes

v3.0.19

Compare Source

Patch Changes
  • 04c89b1: Provide Responses API providerMetadata types at the message / reasoning level.

    • Export the following types for use in client code:
      • OpenaiResponsesProviderMetadata
      • OpenaiResponsesReasoningProviderMetadata
      • AzureResponsesProviderMetadata
      • AzureResponsesReasoningProviderMetadata

v3.0.18

Compare Source

Patch Changes

v3.0.17

Compare Source

Patch Changes
  • 4218f86: fix(openai): preserve tool id for apply patch tool

v3.0.16

Compare Source

Patch Changes
  • 2b8369d: chore: add docs to package dist

v3.0.15

Compare Source

Patch Changes
  • 8dc54db: chore: add src folders to package bundle

v3.0.14

Compare Source

Patch Changes
  • d21d016: feat(openai): add o4-mini model to OpenAIChatModelId type

v3.0.13

Compare Source

Patch Changes
  • 000fa96: fix(openai): filter duplicate items when passing conversationID

v3.0.12

Compare Source

Patch Changes

v3.0.11

Compare Source

Patch Changes

v3.0.10

Compare Source

Patch Changes

v3.0.9

Compare Source

Patch Changes

v3.0.8

Compare Source

Patch Changes
  • 330bd92: 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

v3.0.7

Compare Source

Patch Changes
  • 89202fb: fix(openai/azure): passing response_format correctly

v3.0.6

Compare Source

Patch Changes
  • dc87517: Fix handling of image-url tool result content type in OpenAI Responses API conversion

v3.0.5

Compare Source

Patch Changes

v3.0.4

Compare Source

Patch Changes

v3.0.3

Compare Source

Patch Changes

v3.0.2

Compare Source

Patch Changes
  • e2ee705: feat: differentiate text vs image input tokens

v3.0.1

Compare Source

Patch Changes
  • 04c89b1: Provide Responses API providerMetadata types at the message / reasoning level.

    • Export the following types for use in client code:
      • OpenaiResponsesProviderMetadata
      • OpenaiResponsesReasoningProviderMetadata
      • AzureResponsesProviderMetadata
      • AzureResponsesReasoningProviderMetadata

v3.0.0

Compare Source

Major Changes
Minor Changes
Patch Changes
  • 0c3b58b: fix(provider): add specificationVersion to ProviderV3

  • 4920119: fix the "incomplete_details" key from nullable to nullish for openai compatibility

  • 0adc679: feat(provider): shared spec v3

  • 92c6241: feat(openai): additional settings for file search tool

  • 88fc415: feat(openai): add the new provider 'apply_patch' tool

  • 817e601: fix(openai); fix url_citation schema in chat api

  • dae2185: fix(openai): extract meta data from first chunk that contains any

  • 046aa3b: feat(provider): speech model v3 spec

  • f1277fe: feat(provider/openai): send assistant text and tool call parts as reference ids when store: true

  • 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3

    Before

    model.textEmbeddingModel("my-model-id");

    After

    model.embeddingModel("my-model-id");
  • 60f4775: fix: remove code for unsuported o1-mini and o1-preview models

  • 9a51b92: support OPENAI_BASE_URL env

  • d64ece9: enables image_generation capabilities in the Azure provider through the Responses API.

  • 2625a04: feat(openai); update spec for mcp approval

  • 2e86082: feat(provider/openai): OpenAIChatLanguageModelOptions type

    import { openai, type OpenAIChatLanguageModelOptions } from "@​ai-sdk/openai";
    import { generateText } from "ai";
    
    await generateText({
      model: openai.chat("gpt-4o"),
      prompt: "Invent a new holiday and describe its traditions.",
      providerOptions: {
        openai: {
          user: "user-123",
        } satisfies OpenAIChatLanguageModelOptions,
      },
    });
  • 0877683: feat(provider/openai): support conversations api

  • d0f1baf: feat(openai): Add support for 'promptCacheRetention: 24h' for gpt5.1 series

  • 831b6cc: feat(openai): adding provider mcp tool for openai

  • 95f65c2: chore: use import * from zod/v4

  • edc5548: feat(provider/openai): automatically add reasoning.encrypted_content include when store = false

  • 954c356: feat(openai): allow custom names for provider-defined tools

  • 544d4e8: chore(specification): rename v3 provider defined tool to provider tool

  • 77f2b20: enables code_interpreter and file_search capabilities in the Azure provider through the Responses API

  • 0c4822d: feat: EmbeddingModelV3

  • 73d9883: chore(openai): enable strict json by default

  • d2039d7: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs list

  • 88edc28: feat (provider/openai): include more image generation response metadata

  • e8109d3: feat: tool execution approval

  • ed329cb: feat: Provider-V3

  • 3bd2689: feat: extended token usage

  • 1cad0ab: feat: add provider version to user-agent header

  • e85fa2f: feat(openai): add sources in web-search actions

  • 423ba08: Set the annotations from the Responses API to doStream

  • 401f561: fix(provider/openai): fix web search tool input types

  • 4122d2a: feat(provider/openai): add gpt-5-codex model id

  • 0153bfa: fix(openai): fix parameter exclusion logic

  • 8dac895: feat: LanguageModelV3

  • 304222e: Add streaming support for apply_patch partial diffs.

  • 23f132b: fix: error schema for Responses API

  • 1d0de66: refactoring(provider/openai): simplify code

  • 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks

  • 2c0a758: chore(openai): add JSDoc to responses options

  • 1b982e6: feat(openai): preserve file_id when converting file citations

  • b82987c: feat(openai): support openai code-interpreter annotations

  • 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings

  • b681d7d: feat: expose usage tokens for 'generateImage' function

  • 79b4e46: feat(openai): add 'gpt-5.1' modelID

  • 3997a42: feat(provider/openai): local shell tool

  • 348fd10: fix(openai): treat unknown models as reasoning

  • 9061dc0: feat: image editing

  • fe49278: feat(provider/openai): only send item references for reasoning when store: true

  • cb4d238: The built in Code Interpreter tool input code is streamed in tool-input-<start/delta/end> chunks.

  • 357cfd7: feat(provider/openai): add new model IDs gpt-image-1-mini, gpt-5-pro, gpt-5-pro-2025-10-06

  • 38a4035: added support for external_web_access parameter on web_search tool

  • 40d5419: feat(openai): add o3-deep-research and o4-mini-deep-research models

  • 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases

  • 2b0caef: feat(provider/openai): preview image generation results

  • b60d2e2: fix(openai): allow open_page action type url to be nullish

  • fd47df5: fix(openai): revised_prompt sometimes returns null, causing errors

  • 4616b86: chore: update zod peer depenedency version

  • 7756857: fix(provider/openai): add truncation parameter support for Responses API

  • cad6445: feat(openai); adding OpenAI's new shell tool

  • 64aa48f: Azure OpenAI enabled web-search-preview

  • 0b9fdd5: fix(provider/openai): end reasoning parts earlier

  • 61c52dc: feat (provider/openai): add gpt-image-1.5 model support

  • ef739fa: fix(openai): refactor apply-patch tool

  • 3220329: fix openai responses input: process all provider tool outputs (shell/apply_patch) so parallel tool results aren’t dropped and apply_patch outputs are forwarded.

  • d270a5d: chore(openai): update tests for apply-patch tool to use snapshots

  • f18ef7f: feat(openai): add gpt-5.2 models

  • 21e20c0: feat(provider): transcription model v3 spec

  • 522f6b8: feat: ImageModelV3

  • 484aa93: Add 'default' as service tier

  • 88574c1: Change isReasoningModel detection from blocklist to allowlist and add override option

  • 68c6187: feat(provider/openai): support file and image tool results

  • 3794514: feat: flexible tool output content support

  • cbf52cd: feat: expose raw finish reason

  • 10c1322: fix: moved dependency @ai-sdk/test-server to devDependencies

  • 5648ec0: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.

  • 78f813e: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1

  • 40dc7fa: fix(openai): change find action type to find_in_page action type

  • 0273b74: fix(openai): add support for sources type 'api'

  • 5bf101a: feat(provider/openai): add support for OpenAI xhigh reasoning effort

  • 1bd7d32: feat: tool-specific strict mode

  • d86b52f: distinguish between OpenAI and Azure in Responses API providerMetadata

  • 95f65c2: chore: load zod schemas lazily

  • 59561f8: fix(openai); fix url_citation schema in chat api

  • Updated dependencies

v2.0.106

Compare Source

Patch Changes
  • 3a7454a: chore(provider/openai): add type for image model options for type-safe processing

v2.0.105

Compare Source

Patch Changes

v2.0.104

Compare Source

Patch Changes

v2.0.103

Patch Changes
  • 5543cd1: Add AI Gateway hint to provider READMEs

v2.0.102

Patch Changes

v2.0.101

Patch Changes
  • 316517c: Add gpt-5.4-mini, gpt-5.4-mini-2026-03-17, gpt-5.4-nano, and gpt-5.4-nano-2026-03-17 models.

v2.0.100

Compare Source

Patch Changes
  • 216151a: fix(provider/openai): drop reasoning parts without encrypted content when store: false

v2.0.99

Compare Source

Patch Changes
  • 0aab803: feat(provider/openai): add gpt-5.3-chat-latest

v2.0.98

Compare Source

Patch Changes
  • 392dc94: feat(provider/openai): add GPT-5.4 model support

v2.0.97

Compare Source

Patch Changes

v2.0.96

Compare Source

Patch Changes
  • e867b5c: 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.

v2.0.95

Compare Source

Patch Changes
  • b08351e: fix(openai): allow null/undefined type in streaming tool call deltas

    Azure AI Foundry and Mistral deployed on Azure omit the type field in
    streaming tool_calls deltas. The chat stream parser now accepts a missing
    type field (treating it as "function") instead of throwing
    InvalidResponseDataError: Expected 'function' type.

    Fixes #​12770

v2.0.94

Compare Source

Patch Changes
  • 42815ac: feat(provider/openai): add gpt-5.3-codex

v2.0.93

Compare Source

Patch Changes
  • fa64d70: fix(openai): change web search tool action to be optional

v2.0.92

Compare Source

Patch Changes
  • c680a01: fix(openai): add changeset and tests for per-image usage metadata

v2.0.91

Compare Source

Patch Changes
  • 6a0adb7: feat: differentiate text vs image input tokens

v2.0.90

Compare Source

Patch Changes

v2.0.89

Compare Source

Patch Changes

v2.0.88

Compare Source

Patch Changes
  • 2352cdf: feat (provider/openai): add gpt-image-1.5 model support

v2.0.87

Compare Source

Patch Changes
  • 72d76cc: Add GPT-5.2 support for non-reasoning parameters (temperature, topP, logProbs) when reasoningEffort is none.

v2.0.86

Compare Source

Patch Changes
  • a909bcf: fix(openai); fix url_citation schema in chat api

v2.0.85

Compare Source

Patch Changes
  • e79430b: fix(openai): change find action type to find_in_page action type

v2.0.84

Compare Source

Patch Changes
  • 041a4fc: feat(openai): add gpt-5.2 models

v2.0.83

Compare Source

Patch Changes
  • edc807f: feat(provider/openai): add GPT 5.1 Codex Max to OpenAI Responses model IDs list

v2.0.82

Compare Source

Patch Changes
  • e31dfa4: feat(provider/openai): add support for OpenAI xhigh reasoning effort

v2.0.81

Compare Source

Patch Changes

v2.0.80

Compare Source

Patch Changes
  • 707a163: feat(openai): additional settings for file search tool

v2.0.79

Compare Source

Patch Changes
  • 5b6aa88: fix(openai): fix parameter exclusion logic

v2.0.78

Compare Source

Patch Changes
  • e245b61: fix(openai): allow temperature etc setting when reasoning effort is none for gpt-5.1

v2.0.77

Compare Source

Patch Changes
  • 31f6c20: fix(openai): allow open_page action type url to be nullish

v2.0.76

Compare Source

Patch Changes
  • 61545c4: feat (provider/openai): include more image generation response metadata

v2.0.75

Compare Source

Patch Changes
  • 1c7ff4a: distinguish between OpenAI and Azure in Responses API providerMetadata

v2.0.74

Compare Source

Patch Changes

v2.0.73

Compare Source

Patch Changes
  • 2e2fd83: refactoring(provider/openai): simplify code

v2.0.72

Compare Source

Patch Changes
  • 53d2fcc: added support for external_web_access parameter on web_search tool

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch from 68a3672 to bf2c9c8 Compare December 23, 2025 19:38
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch 4 times, most recently from a58aec9 to fc07b6c Compare January 7, 2026 07:26
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch 4 times, most recently from cbcce54 to fe8d84f Compare January 17, 2026 02:46
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch 4 times, most recently from e668550 to 21b81bd Compare January 27, 2026 03:11
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch 3 times, most recently from cd97662 to f2089ba Compare February 1, 2026 10:16
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch 2 times, most recently from 0f83fde to 28c6222 Compare February 13, 2026 12:12
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch 2 times, most recently from 116d4b6 to c44011c Compare February 19, 2026 07:33
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch 2 times, most recently from 168f67e to ea44e1c Compare March 1, 2026 06:57
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch from ea44e1c to 5b222ab Compare March 8, 2026 08:59
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch from 5b222ab to 2a78807 Compare March 31, 2026 16:37
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch from 2a78807 to 3d4430a Compare April 15, 2026 20:12
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch from 3d4430a to 32dccbd Compare May 1, 2026 06:49
@renovate renovate Bot force-pushed the renovate/ai-sdk-openai-3.x branch from 32dccbd to 7a70a0d Compare May 2, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants