Skip to content

fix(deps): update dependency @ai-sdk/openai to v2.0.145 - #8541

Open
renovate[bot] wants to merge 1 commit into
latestfrom
renovate/ai-sdk-openai-2.x
Open

renovate[bot] wants to merge 1 commit into
latestfrom
renovate/ai-sdk-openai-2.x

Conversation

@renovate

@renovate renovate Bot commented Apr 17, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/openai (source) 2.0.24 → 2.0.145 age confidence

Release Notes

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

v2.0.145

Compare Source

Patch Changes
  • a503655: fix(openai): accept OpenAI Responses stream events larger than 64 MiB

    createEventSourceResponseHandler has a new maxEventSize option. The OpenAI Responses language model uses 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 [a503655]

v2.0.144

Compare Source

Patch Changes

v2.0.143

Compare Source

Patch Changes
  • 3f019a6: 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 and streaming results.

v2.0.142

Compare Source

Patch Changes

v2.0.141

Compare Source

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

  • ce27f15: 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.

  • 0e51536: 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.

  • Updated dependencies [49c554d]

  • Updated dependencies [b753c03]

v2.0.140

Compare Source

Patch Changes
  • 0a069bd: fix(openai): preserve valid JSON string tool arguments and serialize BigInt and cycles in tool calls and results, retaining malformed argument replay fallbacks
  • 0a069bd: Forward languages and keywords transcription hints as repeated multipart fields instead of silently dropping them.
  • Updated dependencies [0a069bd]
  • Updated dependencies [0a069bd]
  • Updated dependencies [0a069bd]

v2.0.139

Compare Source

Patch Changes

v2.0.138

Compare Source

Patch Changes
  • 1ff7951: fix(openai): report unfinished web searches as tool errors
  • 1ff7951: Report failed and incomplete web searches as tool errors instead of successful tool results in OpenAI Responses API calls.

v2.0.137

Compare Source

Patch Changes
  • 6a87db5: Fix gpt-transcribe REST transcription. Requests with OpenAI provider options now use response_format: 'json' for gpt-transcribe and dated gpt-4o-mini-transcribe snapshots, which reject verbose_json. durationInSeconds is read from usage.seconds when a duration-billed response has no top-level duration.

v2.0.136

Compare Source

Patch Changes

v2.0.135

Compare Source

Patch Changes
  • c883c47: fix(openai): send assistant text and function calls with content instead of an item reference when their reasoning was removed

    With reasoning models, pruning reasoning (e.g. pruneMessages({ reasoning: 'all' })) caused follow-up requests to fail with "Item 'msg*...' of type 'message' was provided without its required 'reasoning' item" or "Item 'fc*...' of type 'function_call' was provided without its required 'reasoning' item". Assistant text and function call parts are now only sent as item references, or with their item id, when they are preceded by reasoning in the same assistant message.

v2.0.134

Compare Source

Patch Changes
  • b399a1d: fix(openai): replay web search results, including tools with custom names, when response storage is disabled

v2.0.133

Compare Source

Patch Changes

v2.0.132

Compare Source

Patch Changes
  • 07e394b: feat(openai): add GPT-6.1 Sol model support

v2.0.131

Compare Source

Patch Changes

v2.0.130

Compare Source

Patch Changes
  • f912d4a: The OpenAI Responses provider now accepts providerOptions.openai.reasoningEffortUpdate on empty system messages and sends each update at its position in the conversation. This lets applications change reasoning effort during a conversation while preserving the prompt prefix for caching.

v2.0.129

Compare Source

Patch Changes

v2.0.128

Compare Source

Patch Changes

v2.0.127

Compare Source

Patch Changes

v2.0.126

Compare Source

Patch Changes
  • 022f24b: Include explicit message item types in Azure AI Foundry Responses requests.
  • a15b75a: Add async function tool calling support for OpenAI Responses models.

v2.0.125

Compare Source

Patch Changes
  • e0d0bd1: feat(openai): add GPT-6 reasoning configuration updates

v2.0.124

Compare Source

Patch Changes
  • 7bebd57: feat(openai): add support for the gpt-6-astra

v2.0.123

Compare Source

Patch Changes

v2.0.122

Compare Source

Patch Changes
  • f70d0a3: Normalize non-object replayed Chat Completions tool arguments to empty objects.

v2.0.119

Compare Source

Patch Changes

v2.0.118

Patch Changes

v2.0.32

Patch Changes
  • 1cf857d: fix(provider/openai): remove provider-executed tools from chat completions model
  • 01de47f: feat(provider/openai): rework file search tool

v2.0.31

Patch Changes
  • bb94467: feat(provider/openai): add maxToolCalls provider option
  • 4a2b70e: feat(provider/openai): send item references for provider-executed tool results
  • 643711d: feat (provider/openai): provider defined image generation tool support

v2.0.30

Patch Changes

v2.0.29

Patch Changes
  • 4235eb3: feat(provider/openai): code interpreter tool calls and results

v2.0.28

Patch Changes
  • 4c2bb77: fix (provider/openai): send sources action as include
  • 561e8b0: fix (provider/openai): fix code interpreter tool in doGenerate

v2.0.27

Patch Changes
  • 2338c79: feat (provider/openai): add jsdoc for openai tools

v2.0.26

Patch Changes
  • 5819aec: fix (provider/openai): only send tool calls finish reason for tools that are not provider-executed
  • af8c6bb: feat (provider/openai): add web_search tool

v2.0.25

Patch Changes
  • fb45ade: fix timestamp granularities support for openai transcription

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 8am every weekday,every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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-2.x branch from 2bccd98 to 66fa230 Compare April 17, 2026 05:38
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.102 fix(deps): update dependency @ai-sdk/openai to v2.0.103 Apr 17, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 66fa230 to e71bb56 Compare April 29, 2026 05:30
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.103 fix(deps): update dependency @ai-sdk/openai to v2.0.104 Apr 29, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from e71bb56 to 6964f07 Compare April 30, 2026 17:34
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.104 fix(deps): update dependency @ai-sdk/openai to v2.0.105 Apr 30, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 6964f07 to 87c036d Compare May 1, 2026 16:59
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.105 fix(deps): update dependency @ai-sdk/openai to v2.0.106 May 1, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 87c036d to 2a1cc62 Compare June 12, 2026 19:53
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.106 fix(deps): update dependency @ai-sdk/openai to v2.0.107 Jun 12, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 2a1cc62 to 5f867f2 Compare June 17, 2026 03:48
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.107 fix(deps): update dependency @ai-sdk/openai to v2.0.108 Jun 17, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 5f867f2 to b37a33b Compare June 22, 2026 18:53
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.108 fix(deps): update dependency @ai-sdk/openai to v2.0.109 Jun 22, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from b37a33b to 09f0e2a Compare June 29, 2026 18:20
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.109 fix(deps): update dependency @ai-sdk/openai to v2.0.110 Jun 29, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 09f0e2a to 058cacb Compare July 13, 2026 19:40
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.110 fix(deps): update dependency @ai-sdk/openai to v2.0.111 Jul 13, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 058cacb to 51f2bd4 Compare July 14, 2026 19:44
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.111 fix(deps): update dependency @ai-sdk/openai to v2.0.112 Jul 14, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 51f2bd4 to 9577502 Compare July 17, 2026 10:45
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.112 fix(deps): update dependency @ai-sdk/openai to v2.0.113 Jul 17, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 9577502 to 3934f03 Compare July 17, 2026 14:49
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.113 fix(deps): update dependency @ai-sdk/openai to v2.0.114 Jul 17, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 3934f03 to 3e97b35 Compare July 25, 2026 23:37
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.114 fix(deps): update dependency @ai-sdk/openai to v2.0.115 Jul 25, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 3e97b35 to d35830e Compare August 1, 2026 05:28
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.115 fix(deps): update dependency @ai-sdk/openai to v2.0.117 Aug 1, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from d35830e to a9d94d3 Compare August 12, 2026 01:47
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.117 fix(deps): update dependency @ai-sdk/openai to v2.0.118 Aug 12, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from ade14a6 to 20fe0ed Compare September 5, 2026 21:33
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.124 fix(deps): update dependency @ai-sdk/openai to v2.0.125 Sep 5, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 20fe0ed to b07819e Compare September 9, 2026 19:21
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.125 fix(deps): update dependency @ai-sdk/openai to v2.0.127 Sep 9, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from b07819e to 6764121 Compare September 23, 2026 08:51
@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.127 fix(deps): update dependency @ai-sdk/openai to v2.0.128 Sep 23, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 6764121 to 560dc6b Compare September 24, 2026 01:38
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.128 fix(deps): update dependency @ai-sdk/openai to v2.0.129 Sep 24, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 560dc6b to 17bb7d4 Compare September 24, 2026 23:57
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.129 fix(deps): update dependency @ai-sdk/openai to v2.0.130 Sep 24, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 17bb7d4 to 962ab26 Compare September 28, 2026 20:12
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.130 fix(deps): update dependency @ai-sdk/openai to v2.0.131 Sep 28, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 962ab26 to f55f6b0 Compare October 3, 2026 14:55
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.131 fix(deps): update dependency @ai-sdk/openai to v2.0.133 Oct 3, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from f55f6b0 to 10a7601 Compare October 13, 2026 00:45
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.133 fix(deps): update dependency @ai-sdk/openai to v2.0.134 Oct 13, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 10a7601 to c15de19 Compare October 13, 2026 20:37
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.134 fix(deps): update dependency @ai-sdk/openai to v2.0.135 Oct 13, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch 2 times, most recently from 48f17d8 to 2c3fd46 Compare October 21, 2026 05:19
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.135 fix(deps): update dependency @ai-sdk/openai to v2.0.136 Oct 21, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch 2 times, most recently from 9304c56 to 92d24c1 Compare October 27, 2026 23:26
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.136 fix(deps): update dependency @ai-sdk/openai to v2.0.137 Oct 27, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 92d24c1 to 4905d77 Compare October 28, 2026 03:11
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.137 fix(deps): update dependency @ai-sdk/openai to v2.0.138 Oct 28, 2026
@renovate
renovate Bot force-pushed the renovate/ai-sdk-openai-2.x branch from 4905d77 to d795e32 Compare October 30, 2026 21:54
@renovate renovate Bot changed the title fix(deps): update dependency @ai-sdk/openai to v2.0.138 fix(deps): update dependency @ai-sdk/openai to v2.0.139 Oct 30, 2026
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