Skip to content

chore(deps): update dependency @ai-sdk/openai to v4.0.129 - #502

Open
bortybot[bot] wants to merge 1 commit into
mainfrom
renovate/ai-sdk-openai-4.x
Open

bortybot[bot] wants to merge 1 commit into
mainfrom
renovate/ai-sdk-openai-4.x

Conversation

@bortybot

@bortybot bortybot Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
@ai-sdk/openai (source) dependencies patch 4.0.104 → 4.0.129

Release Notes

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

v4.0.129

Compare Source

Patch Changes
  • 52a423f: Export provider-specific model capability lookup functions with typed model IDs, endpoint-specific capabilities, and provider option descriptions and support, without API requests or configuration.
  • Updated dependencies [52a423f]

v4.0.128

Compare Source

Patch Changes
  • 968673e: Align OpenAI model capabilities with the API audit: restrict logprobs to non-reasoning requests, correct Pro model endpoints and flex support, declare provider option value restrictions, and update image sizes, transcription duration, and discontinued models.

v4.0.127

Compare Source

Patch Changes
  • 8246e9a: Promote streamSpeechTranslation (formerly experimental_streamTranslate), StreamSpeechTranslationResult, SpeechTranslationStreamPart, the OpenAI and Google speech translation model exports, and the speechTranslation() provider shortcut to stable. The experimental names and translation() remain as deprecated aliases.
  • f958ef0: Promote streamTranscription (formerly experimental_streamTranscribe) and the TranscriptionModelV4Stream* provider types to stable, with deprecated experimental aliases for backwards compatibility.
  • Updated dependencies [f958ef0]

v4.0.126

Compare Source

Patch Changes

v4.0.125

Compare Source

Patch Changes
  • 80d778a: fix(openai, xai): accept Responses stream events larger than 64 MiB

    createEventSourceResponseHandler has a new maxEventSize option. The OpenAI and xAI Responses language models use it to accept events of up to 512 MiB, because response.completed repeats every output item, including base64 image generation results. Streams with several large generated images exceeded the default limit and failed after all images were delivered.

  • Updated dependencies [80d778a]

v4.0.124

Compare Source

Patch Changes
  • 47c1403: feat(provider/openai): add an outputFileExpiresAfter batch provider option that sets output_expires_after on batch creation, and expose the batch output and error file IDs on batch status and list results as providerMetadata.openai.outputFileId / errorFileId
  • 2c7a5a0: chore(openai): align model catalog capabilities with live OpenAI API results and list discontinued model IDs
  • Updated dependencies [aa7cb79]

v4.0.123

Compare Source

Patch Changes
  • c3ee424: refactor(openai): declare language model capabilities per model ID in the model catalog

v4.0.122

Compare Source

Patch Changes

v4.0.121

Compare Source

Patch Changes
  • 1a7440b: return input transformations in responses provider metadata

v4.0.120

Compare Source

Patch Changes
  • ed981f8: feat(openai): add GPT-6.2 Astra and GPT-6.2 Sol model support

v4.0.119

Compare Source

Patch Changes
  • 5aa836f: fix(openai): send additionalTools definitions only for tools registered in the request

    additionalTools entries can come from replayed, client-supplied conversation history. The Responses provider now uses an entry only to select a tool registered in the call's tools and sends the definition derived from that tool: its description, input schema, strict setting, and deferLoading option instead of the values in the history. Entries for tools that are not registered are dropped with a warning, and a namespace entry loads only the registered tools it names.

  • Updated dependencies [10ff0b1]

  • Updated dependencies [e878ab3]

  • Updated dependencies [d99098a]

v4.0.118

Compare Source

Patch Changes
  • f5fc6ba: Derive known model ID suggestions from each provider's model catalog declarations so catalog updates automatically update autocomplete, while preserving existing suggestions, endpoint-specific model lists, and support for custom model IDs.

v4.0.117

Compare Source

Patch Changes

v4.0.116

Compare Source

Patch Changes
  • 2ebc78b: Forward the provider's configured fetch transport when downloading file inputs. Add a fetch option to createDownload so core downloads can also use guarded-fetch for opt-in DNS validation on Node.js. The function returned by createDownload can now also be passed as experimental_download to generateText and streamText, and experimental_download now also handles generated file URLs returned by the model, so one hook covers all core downloads. Document that the default URL checks do not resolve DNS and recommend the guarded transport or network egress controls for untrusted URLs.

    Keep Azure image and Vertex tool-result downloads separate from provider authentication wrappers so file hosts never receive Azure bearer tokens or Vertex Express Mode API keys.

    Pass the call's abort signal to custom download requests, including prompt assets and generated files, so experimental_download: createDownload({ fetch }) preserves cancellation and timeouts.

  • 6eff958: feat(openai): add positioned additionalTools and accept custom and namespace tools

  • a279e86: fix(openai): keep tool-result additionalTools for parallel results and openai options

  • Updated dependencies [2ebc78b]

  • Updated dependencies [cb4fa52]

v4.0.115

Compare Source

Patch Changes
  • 5a645e9: Support positioned Responses API format updates so changing structured output schemas can preserve earlier reasoning and prompt cache reuse. Add a stable request-level text format override and expose prompt cache comparison diagnostics for generation, streaming, and batch results.

v4.0.114

Compare Source

Patch Changes

v4.0.113

Compare Source

Patch Changes
  • 22b8158: Avoid repeating the complete parallel-tool wrapper input in every expanded tool call's metadata while preserving wrapper reconstruction for follow-up Responses API requests.
  • Updated dependencies [88b9575]

v4.0.111

Compare Source

Patch Changes
  • 6400cf8: Add resolveProviderOptions to parse provider options that a model accepts under several providerOptions keys, either as aliases (first) or merged in order (merge), and use it for the existing multi-key lookups in the OpenAI, OpenAI-compatible, Anthropic, Google, and Amazon Bedrock models. Resolution behavior for these models is unchanged.
  • Updated dependencies [6400cf8]
  • Updated dependencies [f608c05]
  • Updated dependencies [cab9c1f]
  • Updated dependencies [c70adf6]

v4.0.110

Compare Source

Patch Changes
  • c6efa4b: Refactor Azure model ID logic into a model catalog that declares capabilities and provider options, and generate provider capability documentation from it. Export the OpenAI catalog internally for Azure to reuse. Request behavior is unchanged.

  • f6dbf04: fix(openai): surface Chat Completions refusals as text content

    The Chat Completions model ignored message.refusal (non-streaming) and delta.refusal (streaming). When the model refused to answer, content was null, so the AI SDK returned empty text with a stop finish reason and silently dropped the refusal. Refusal text is now emitted as text content in both generateText and streamText results, and it is emitted in addition to content when the API returns both. A refusal with a stop finish reason is now reported as a content-filter finish reason, matching the Anthropic provider and the Responses API.

  • 646a7e3: fix(openai,openai-compatible): surface refusal logprobs and openai-compatible refusals

    @ai-sdk/openai: Chat Completions responses that contain a refusal can return logprobs.refusal next to logprobs.content. The provider previously read only logprobs.content, so providerMetadata.openai.logprobs was empty or missing for refusals. Refusal logprobs are now included in emission order (content logprobs followed by refusal logprobs) in both generateText and streamText.

    Streaming logprobs are now collected across all chunks in streamText: previously only the logprobs of the last streamed chunk were reported. This applies to content logprobs as well, so providerMetadata.openai.logprobs now contains the logprobs of every streamed token instead of only the last chunk's tokens. Explicitly empty logprobs (logprobs: { content: [], refusal: null }) are reported as an empty array, as before.

    A refusal that arrives in the same streamed chunk as the finish_reason is now taken into account: such a response is reported with a content-filter finish reason instead of stop.

    @ai-sdk/openai-compatible: Chat Completions responses that carry message.refusal (non-streaming) or delta.refusal (streaming) were ignored, so providers such as OpenAI served through createOpenAICompatible lost the refusal text and reported an empty stop response. Refusals are now returned as text content after any content text, and a non-empty refusal with a stop finish reason is reported as a content-filter finish reason. This also applies when the refusal and the finish reason arrive in the same streamed chunk. Non-string refusals (for example refusal: false from servers that use booleans) are ignored instead of failing the response.

  • 6b97088: fix(openai): handle refusal content parts in the Responses API

    The Responses API returns a refusal content part instead of output_text when the model declines a request. The response schema rejected these parts, so non-streaming calls failed with an APICallError ("Invalid JSON response"), and streamed response.refusal.delta / response.refusal.done events were dropped, producing empty text. Refusal content parts and stream events are now parsed: the refusal explanation is surfaced as text and the finish reason is mapped to content-filter. When the response also contains a client-side function call, the finish reason stays tool-calls so the tools are still executed.

v4.0.109

Compare Source

Patch Changes
  • 27528db: Expose customTool through azure.tools for Azure Responses models, sharing the OpenAI custom tool factory and its raw string input support.

  • 7bb309d: add memoryLimit and networkPolicy properties in codeInterpreter tool

  • 7a90522: Add Secure MCP tunnel support to the OpenAI MCP tool via tunnelId. Tunnel targets cannot be combined with serverUrl or connectorId; existing URL and connector configurations remain compatible.

  • 6549344: feat(openai): support GPT Image 2.6 models with complexity, markup-guided edits (markup), animated GIF output (outputFormat: 'gif', frameCount, frameDurationMs), and safetyIdentifier for image models

  • 5f9bb8e: feat (provider/openai): forward the moderation option to /images/edits

  • 934100c: Report the actual OpenAI Chat HTTP endpoint (also used by Azure Chat and Bedrock Mantle Chat) through optional request metadata and model-call end events. Record its host and port on OpenTelemetry chat spans without exposing URL credentials, paths, queries, or fragments. Expose only the sanitized HTTP origin in text and object generation results and step/finish callbacks. Providers that do not report an endpoint leave these attributes unset.

  • 892af4d: feat (provider/openai): implement server-side realtime extensions

    OpenAIRealtimeModel now implements getServerWebSocketConfig(), returning the upstream realtime WebSocket URL for conversation and transcription intents plus header auth derived from the model's configured credentials. Dedicated transcription sessions serialize with session.type: "transcription" and the selected realtime model id. Translation is rejected until the normalized realtime codec supports its distinct wire protocol. The event mapper now populates normalized usage on response-done and input-transcription-completed (gross input/output token counts with cached portions reported separately; duration usage for duration-billed transcription).

    Transcription serialization honors the explicit transcription model and rejects unsupported output settings. Gross token totals and reported modality/cache counts are retained; duration uses seconds. OpenAI Live retains its existing connection API and rejects unsupported intents.

  • 243bf22: Forward per-message providerOptions.openai.name on Chat Completions system, developer, user, and assistant messages. Validate names as strings and warn when configured on unsupported tool messages.

  • 5cc6d28: Expose azure.tools.shell for local and hosted shell execution through the Azure Responses API.

  • 41465fd: Expose optional transcription word timings separately from segments and accept shared timestampGranularities. Explicit provider timing settings take precedence. OpenAI now sends timestamp_granularities only with verbose_json and warns when a requested timing is unavailable or excluded.

  • Updated dependencies [36802d4]

  • Updated dependencies [e0143b0]

  • Updated dependencies [934100c]

  • Updated dependencies [892af4d]

  • Updated dependencies [89aff56]

  • Updated dependencies [41465fd]

  • Updated dependencies [9754014]

  • Updated dependencies [4bb73b0]

  • Updated dependencies [2e44144]

v4.0.108

Compare Source

Patch Changes

v4.0.107

Compare Source

Patch Changes
  • 4ae6986: fix(openai): preserve valid JSON string tool arguments and serialize BigInt and cycles in tool calls and results, retaining malformed argument replay fallbacks
  • 226b7da: Forward languages and keywords transcription hints as repeated multipart fields instead of silently dropping them. Warn when these REST-only options are supplied to streaming transcription.
  • Updated dependencies [51ca5b7]
  • Updated dependencies [dc6f1c3]
  • Updated dependencies [4ae6986]

v4.0.106

Compare Source

Patch Changes
  • 7716e18: Support promises and synchronous or asynchronous callbacks in provider API key and token settings. Resolve credentials per authenticated request while preserving existing authentication behavior and synchronous credential serialization.

    The experimental OpenAI Live getServerWebSocketConfig() method can now resolve asynchronously. Await its result before using the connection settings.

  • dcd2f8d: Introduce a model entry contract with named capability sections and request configuration. Consolidate the OpenAI and Anthropic model catalogs so existing request behavior and generated capability documentation use the same source of truth. Catalogs also declare the provider options each provider accepts and which models support them.

  • Updated dependencies [7716e18]

  • Updated dependencies [5c247e9]

  • Updated dependencies [dcd2f8d]

v4.0.105

Compare Source

Patch Changes
  • 47b1d8b: feat(openai): send native JSON input and prompt cache keys to Decisions

  • d07b475: fix(openai): map top-level reasoning to efforts supported by GPT-5.x models instead of sending unsupported values that OpenAI rejects with a 400. max is now only sent on the Responses API, and GPT-5.6 on Chat Completions sends reasoning_effort: 'none' when function tools are used, since it rejects function tools with reasoning. A warning is emitted when a reasoning level was requested.

  • 61a315e: fix: map the top-level reasoning option consistently across providers

    Providers now resolve reasoning the same way:

    1. A provider-specific reasoning setting in providerOptions is sent unchanged. OpenAI no longer drops providerOptions.openai.reasoningEffort values that are not in its list for the model, and Fireworks no longer rewrites providerOptions.fireworks.reasoningEffort. Fireworks also sends top-level reasoning values directly instead of rounding them to 'high' at most, except for model families known to reject 'none' (GPT-OSS, GLM-5.3, Muse Spark) or 'minimal' (Nemotron, Inkling).
    2. Otherwise, reasoning maps to the closest level the model supports, rounding down, and rounds up only when there is no lower level. For example, 'xhigh' now maps to 'high' instead of 'max' on Anthropic and Bedrock models without xhigh effort, and 'medium' maps to 'low' instead of 'high' on DeepSeek, Kimi K3, and Mistral GLM-5.3 models.
    3. 'none' on a model that cannot disable reasoning maps to the model's lowest level with a compatibility warning, instead of being dropped or sending a request the API rejects. This affects GPT-6 models without 'none', xAI grok-4.5 and later, Groq GPT-OSS, Kimi K3, Perplexity, QuiverAI, Bedrock OpenAI gpt-oss models, and Gemini 2.5 Pro (minimum thinking budget). Gemini 3 and Anthropic and Bedrock between_tools mappings now emit the compatibility warning too.

    mapReasoningToProviderEffort now accepts any reasoning value, returns an optional providerOptionsEffort unchanged, and rounds levels that are missing from the effort map to the closest supported level. mapReasoningToProviderBudget maps 'none' to the minimum reasoning budget, always returns a budget, and uses the default percentage for levels missing from budgetPercentages. OpenAICompatibleChatConfig adds an optional mapReasoning function for mapping the top-level reasoning option.

  • Updated dependencies [61a315e]


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 has been generated by Renovate Operator.

@claude

claude Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Claude encountered an error after 2s —— View job


I'll analyze this and get back to you.

@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from db1ca97 to f185b0a Compare November 2, 2026 21:09
@bortybot bortybot Bot changed the title Update dependency @ai-sdk/openai to v4.0.106 Update dependency @ai-sdk/openai to v4.0.107 Nov 2, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from f185b0a to 66352a5 Compare November 3, 2026 02:08
@bortybot bortybot Bot changed the title Update dependency @ai-sdk/openai to v4.0.107 Update dependency @ai-sdk/openai to v4.0.108 Nov 3, 2026
@bortybot bortybot Bot changed the title Update dependency @ai-sdk/openai to v4.0.108 chore(deps): update dependency @ai-sdk/openai to v4.0.108 Nov 3, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 66352a5 to 6dd3d48 Compare November 5, 2026 02:08
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.108 chore(deps): update dependency @ai-sdk/openai to v4.0.109 Nov 5, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 6dd3d48 to bd9f67f Compare November 6, 2026 20:09
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.109 chore(deps): update dependency @ai-sdk/openai to v4.0.110 Nov 6, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from bd9f67f to bcff6c6 Compare November 7, 2026 20:10
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.110 chore(deps): update dependency @ai-sdk/openai to v4.0.111 Nov 7, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from bcff6c6 to 5d7da7b Compare November 10, 2026 18:12
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.111 chore(deps): update dependency @ai-sdk/openai to v4.0.113 Nov 10, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 5d7da7b to 4469fb5 Compare November 10, 2026 21:09
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.113 chore(deps): update dependency @ai-sdk/openai to v4.0.114 Nov 10, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 4469fb5 to 86365f1 Compare November 11, 2026 19:11
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.114 chore(deps): update dependency @ai-sdk/openai to v4.0.115 Nov 11, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 86365f1 to 3805e1c Compare November 12, 2026 21:12
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.115 chore(deps): update dependency @ai-sdk/openai to v4.0.116 Nov 12, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 3805e1c to aa877a5 Compare November 13, 2026 06:08
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.116 chore(deps): update dependency @ai-sdk/openai to v4.0.117 Nov 13, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from aa877a5 to 218289a Compare November 13, 2026 23:11
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.117 chore(deps): update dependency @ai-sdk/openai to v4.0.118 Nov 13, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 218289a to 8b3a35f Compare November 17, 2026 19:09
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.118 chore(deps): update dependency @ai-sdk/openai to v4.0.119 Nov 17, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 8b3a35f to 9af32a9 Compare November 17, 2026 20:09
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.119 chore(deps): update dependency @ai-sdk/openai to v4.0.120 Nov 17, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 9af32a9 to 748c336 Compare November 17, 2026 21:08
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.120 chore(deps): update dependency @ai-sdk/openai to v4.0.121 Nov 17, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 748c336 to 22a3482 Compare November 20, 2026 17:09
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.121 chore(deps): update dependency @ai-sdk/openai to v4.0.122 Nov 20, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 22a3482 to 5e546a2 Compare November 24, 2026 22:10
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.122 chore(deps): update dependency @ai-sdk/openai to v4.0.123 Nov 24, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 5e546a2 to abb1182 Compare November 25, 2026 22:11
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.123 chore(deps): update dependency @ai-sdk/openai to v4.0.124 Nov 25, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from abb1182 to 244204d Compare November 26, 2026 05:11
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.124 chore(deps): update dependency @ai-sdk/openai to v4.0.125 Nov 26, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 244204d to 02ef39d Compare November 30, 2026 01:08
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.125 chore(deps): update dependency @ai-sdk/openai to v4.0.126 Nov 30, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 02ef39d to 4ef367f Compare December 1, 2026 18:09
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.126 chore(deps): update dependency @ai-sdk/openai to v4.0.127 Dec 1, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from 4ef367f to b0834ce Compare December 3, 2026 00:12
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.127 chore(deps): update dependency @ai-sdk/openai to v4.0.128 Dec 3, 2026
@bortybot
bortybot Bot force-pushed the renovate/ai-sdk-openai-4.x branch from b0834ce to 0a140af Compare December 3, 2026 20:14
@bortybot bortybot Bot changed the title chore(deps): update dependency @ai-sdk/openai to v4.0.128 chore(deps): update dependency @ai-sdk/openai to v4.0.129 Dec 3, 2026
@bortybot

bortybot Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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