Skip to content

chore(deps): update ai provider sdks - #2160

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-provider-sdks
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ai-provider-sdks

Conversation

@renovate

@renovate renovate Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/openai (source) 4.0.99 → 4.0.125 age confidence
@ai-sdk/react (source) 4.0.152 → 4.0.188 age confidence
@anthropic-ai/sdk ^0.135.0 → ^0.137.0 age confidence
@anthropic-ai/vertex-sdk ^0.19.0 → ^0.22.0 age confidence
@aws-sdk/client-bedrock (source) ^3.1057.0 → ^3.1178.0 age confidence
@aws-sdk/client-bedrock-runtime (source) ^3.1057.0 → ^3.1178.0 age confidence
@aws-sdk/credential-providers (source) ^3.1057.0 → ^3.1178.0 age confidence
@google/genai ^2.10.0 → ^2.32.0 age confidence
@mistralai/mistralai 2.2.0 → 2.7.0 age confidence
@openrouter/sdk 0.13.20 → 0.13.67 age confidence
@opentelemetry/api (source) ^1.9.0 → ^1.10.0 age confidence
ollama ^0.6.3 → ^0.6.4 age confidence
openai ^7.30.0 → ^7.65.0 age confidence

Release Notes

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

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]

v4.0.104

Compare Source

Patch Changes
  • 01d7a03: feat(openai): add GPT-6.1 Terra model support

  • 599a97f: fix(openai): read transcription duration from usage for duration-billed json responses

    durationInSeconds now falls back to usage.seconds when usage.type is duration and the response has no top-level duration (e.g. gpt-transcribe with the default json response format).

  • 8375141: Support streaming transcription with gpt-live-transcribe and gpt-transcribe. For these models the language provider option is sent as a single-entry languages list. gpt-transcribe warns about and omits streaming.delay, which it does not support. gpt-live-transcribe rejects non-streaming transcription, since it has no REST endpoint.

  • 7eac057: fix(openai): strip propertyNames schemas that omit type: 'string' (e.g. Zod 3 records with constrained keys) instead of throwing an unsupported functionality error

  • 436374e: fix(openai): report unfinished web searches as tool errors

  • 9026c7d: fix(openai): only send transcription response format and timestamp defaults when needed

    Transcription requests no longer send response_format=verbose_json or timestamp_granularities[]=segment unless the caller sets them or the model needs them. Previously, any providerOptions.openai value (such as a prompt) caused verbose_json to be sent for models like gpt-transcribe, which rejected the request.

  • Updated dependencies [57086ff]

  • Updated dependencies [95348b3]

v4.0.103

Compare Source

Patch Changes
  • 02dbab1: add azure.tools.toolSearch and support azure provider options on responses function tools
  • 27a53b4: Fix string interpolation in Amazon Bedrock unsupported provider tool warnings and OpenAI / OpenAI-compatible completion errors for unexpected system messages.
  • Updated dependencies [e64ed82]

v4.0.102

Patch Changes
  • 5475347: Fix non-streaming Responses API structured output failing when multiple assistant messages contain JSON. Providers can supply separate structured-output text for parsing, allowing OpenAI and Azure Responses models to select the last final_answer while preserving all generated content, annotations, conversation history, and token usage.
  • e729d58: chore(docs): update README.md for consistent format and to avoid duplication
  • Updated dependencies [5475347]
  • Updated dependencies [e729d58]

v4.0.101

Patch Changes

v4.0.100

Compare Source

Patch Changes
  • 43ad966: Report interrupted when a stream ends cleanly without its provider completion signal, preserving partial output without emitting an error solely for the interruption.

    This applies to OpenAI (Chat, Responses, and Completions), Anthropic, Google (Generate Content and Interactions), Alibaba, Amazon Bedrock Converse, Cohere, DeepSeek, Groq, Hugging Face Responses, Mistral Chat, Moonshot AI, Open Responses, Perplexity, and xAI Responses. It also covers cutoffs in later Anthropic messages and Google automatic continuations.

    Compatibility notice: These streams previously fell back to other or omitted the finish part. Applications must now handle interrupted in finish-reason switches, mappings, and custom validation. Check finishReason === 'interrupted' to detect incomplete responses; interruption alone does not trigger error handling.

    Explicit unknown completion reasons still map to other. Actual provider, parsing, and transport errors retain their error paths; affected error paths that previously left the finish reason as other now report error. OpenAI-compatible remains unchanged.

  • Updated dependencies [10026d1]

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

v4.0.188

Compare Source

Patch Changes

v4.0.187

Compare Source

Patch Changes

v4.0.186

Compare Source

Patch Changes

v4.0.185

Compare Source

Patch Changes

v4.0.184

Compare Source

Patch Changes

v4.0.183

Compare Source

Patch Changes
  • Updated dependencies [7e55599]
    • ai@​7.0.179

v4.0.182

Compare Source

Patch Changes

v4.0.181

Compare Source

Patch Changes
  • Updated dependencies [e403988]
  • Updated dependencies [b792b56]
    • ai@​7.0.177

v4.0.180

Compare Source

Patch Changes

v4.0.179

Compare Source

Patch Changes
  • ai@​7.0.175

v4.0.178

Compare Source

Patch Changes

v4.0.177

Compare Source

Patch Changes

v4.0.176

Compare Source

Patch Changes

v4.0.175

Compare Source

Patch Changes

v4.0.174

Compare Source

Patch Changes
  • 37dfe49: Allow MCP Apps to load scripts and styles from origins declared in resourceDomains.
  • 6309382: Add support for baseUriDomains in MCP App CSP metadata.
  • Updated dependencies [91a67c2]
  • Updated dependencies [6309382]
  • Updated dependencies [84b1cb0]

v4.0.173

Compare Source

Patch Changes

v4.0.172

Compare Source

Patch Changes

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 enabled auto-merge (squash) November 16, 2026 03:39
@changeset-bot

changeset-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a9c62d7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: TanStack/ai
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: de3cf8e
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8b9ddd8a-06bb-4871-a925-e7bfbe1c8c65

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

Use the checkbox below for a quick retry:

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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot force-pushed the renovate/ai-provider-sdks branch from 27b5e71 to 821d2f3 Compare November 16, 2026 10:26
@nx-cloud

nx-cloud Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

To disable these notifications, a workspace admin can disable them in workspace settings.


View your CI Pipeline Execution ↗ for commit c11d85e

Command Status Duration Result
nx run-many --targets=build --exclude=examples/... ❌ Failed 2m 17s View ↗

💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-11-19 22:50:40 UTC

@renovate
renovate Bot force-pushed the renovate/ai-provider-sdks branch 24 times, most recently from 992744e to 13abf77 Compare November 19, 2026 14:01
@renovate
renovate Bot force-pushed the renovate/ai-provider-sdks branch 29 times, most recently from 766da94 to adb1169 Compare November 25, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants