Skip to content

chore(deps): bump the ai-sdk group across 1 directory with 6 updates - #1012

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/javascript/ai-sdk-d3ba922238
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/javascript/ai-sdk-d3ba922238

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the ai-sdk group with 6 updates in the /javascript directory:

Package From To
@ai-sdk/openai 3.0.65 4.0.91
ai 6.0.190 7.0.137
@ai-sdk/amazon-bedrock 4.0.183 5.0.113
@ai-sdk/google 3.0.127 4.0.93
@ai-sdk/anthropic 3.0.41 4.0.78
@ai-sdk/xai 3.0.50 5.0.20

Updates @ai-sdk/openai from 3.0.65 to 4.0.91

Release notes

Sourced from @​ai-sdk/openai's releases.

@​ai-sdk/openai@​3.0.127

Patch Changes

  • 347b939: fix(openai): send assistant text with content instead of an item reference when its 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". Assistant text parts are now only sent as item references, or with their item id, when they are preceded by reasoning in the same assistant message.

  • Updated dependencies [604b4d3]

    • @​ai-sdk/provider-utils@​4.0.58
Changelog

Sourced from @​ai-sdk/openai's changelog.

4.0.91

Patch Changes

  • 5cf13d2: feat: map the top level embedding dimensions to provider settings
  • 72e9d38: feat(openai): send image detail in decisions
  • fb933f9: Report failed and incomplete web searches as tool errors instead of successful tool results in OpenAI Responses API calls and batch results.
  • Updated dependencies [4dbc902]
    • @​ai-sdk/provider@​4.0.26
    • @​ai-sdk/provider-utils@​5.0.58

4.0.90

Patch Changes

  • 6c59fb1: fix(openai): preserve sampling parameters for GPT-6 Sol and Luna when reasoning is disabled, accounting for reasoning effort updates in Responses requests

4.0.89

Patch Changes

  • 9184a35: Add ordered text, file, and JSON parts to experimental decision state. Support image input in OpenAI Decisions and language model adapters. Gateway retains its existing string and JSON request format and rejects files, as does TypeSafe AI.

    Arrays passed directly as state now contain decision state parts. Wrap JSON arrays in an object or a json part.

    Normalize all public state forms into an array of parts before calling decision providers. Providers receive text and JSON objects as text and json parts.

    Serialize decision file bytes as base64 in OpenTelemetry state attributes. Model-call spans record normalized state parts, while outer spans retain public state inputs.

    Preserve native JSON state in TypeSafe AI when state contains one JSON part. Label shared state in language-model decision prompts.

  • Updated dependencies [9184a35]

    • @​ai-sdk/provider@​4.0.25
    • @​ai-sdk/provider-utils@​5.0.57

4.0.88

Patch Changes

  • 32ff7ad: Preserve tool errors in OpenAI Chat Completions and Responses by wrapping their payloads in an error object. Send Google tool errors and denied executions under functionResponse.response.error.

4.0.87

Patch Changes

  • bccc1b7: fix(openai): avoid duplicate references for stored messages with multiple text parts

4.0.86

Patch Changes

... (truncated)

Commits

Updates ai from 6.0.190 to 7.0.137

Release notes

Sourced from ai's releases.

[email protected]

Patch Changes

  • Updated dependencies [d9244d1]
    • @​ai-sdk/gateway@​3.0.214

[email protected]

Patch Changes

  • Updated dependencies [604b4d3]
  • Updated dependencies [0a2b345]
  • Updated dependencies [92ef6a5]
    • @​ai-sdk/provider-utils@​4.0.58
    • @​ai-sdk/gateway@​3.0.213
Changelog

Sourced from ai's changelog.

7.0.137

Patch Changes

  • e27cc64: fix(ai): discard unrelated message state when reading resumed streams

7.0.136

Patch Changes

  • 7b5497c: Fix streaming output timeouts: stop chunkMs and firstChunkMs when the model response ends, so long-running local tools do not trigger model output timeouts. Give each retry fresh output timeout budgets. stepMs continues to cover the complete step, including local tools.
  • Updated dependencies [e280aa1]
    • @​ai-sdk/gateway@​4.0.110

7.0.135

Patch Changes

  • 5ddbb70: fix(ai): prevent duplicate continuation requests for repeated tool approval responses
  • 7c40a09: feat(ai): log warning when default step limit stops a tool loop
  • 4dbc902: feat(ai): add a top level 'dimensions' setting for embeddding functions
  • ff18b73: fix(ai): wait for chat stream cleanup when stopping
  • 9be846c: feat(ai): add a persistent WebSocket chat transport with correlated streaming, serialized backpressure, cancellation, validated protocol frames, explicit lifecycle, and sequence-based resume support
  • Updated dependencies [5cf13d2]
  • Updated dependencies [4dbc902]
  • Updated dependencies [908fd12]
    • @​ai-sdk/gateway@​4.0.109
    • @​ai-sdk/provider@​4.0.26
    • @​ai-sdk/provider-utils@​5.0.58

7.0.134

Patch Changes

  • 8281ec4: fix(ai): propagate async sendAutomaticallyWhen failures from tool updates
  • 46c2b05: fix(ai): preserve provider-executed tool calls when resuming streams

7.0.133

Patch Changes

  • 9184a35: Add ordered text, file, and JSON parts to experimental decision state. Support image input in OpenAI Decisions and language model adapters. Gateway retains its existing string and JSON request format and rejects files, as does TypeSafe AI.

    Arrays passed directly as state now contain decision state parts. Wrap JSON arrays in an object or a json part.

    Normalize all public state forms into an array of parts before calling decision providers. Providers receive text and JSON objects as text and json parts.

    Serialize decision file bytes as base64 in OpenTelemetry state attributes. Model-call spans record normalized state parts, while outer spans retain public state inputs.

    Preserve native JSON state in TypeSafe AI when state contains one JSON part. Label shared state in language-model decision prompts.

... (truncated)

Commits
  • 98fac2b Version Packages (#22428)
  • e27cc64 fix: prevent readUIMessageStream from adopting content from an unrelated assi...
  • e00b1b1 Version Packages (#22348)
  • e280aa1 feat(gateway): send image files in decision state (#22286)
  • 7b5497c fix(ai): clear chunkMs timeout during tool execution (#22341)
  • 50203a8 Version Packages (#22320)
  • 4dbc902 feat(ai): add a top level 'dimensions' setting for embeddding functions (#22335)
  • 9be846c feat: add a persistent WebSocket ChatTransport with correlated streaming, ser...
  • ff18b73 fix: chat.stop() resolving before active stream processing and callback-drive...
  • 7c40a09 feat(ai): log warning when default step limit stops a tool loop (#22329)
  • Additional commits viewable in compare view

Updates @ai-sdk/amazon-bedrock from 4.0.183 to 5.0.113

Release notes

Sourced from @​ai-sdk/amazon-bedrock's releases.

@​ai-sdk/svelte@​4.0.306

Patch Changes

@​ai-sdk/svelte@​4.0.305

Patch Changes

Changelog

Sourced from @​ai-sdk/amazon-bedrock's changelog.

5.0.113

Patch Changes

  • 5cf13d2: feat: map the top level embedding dimensions to provider settings
  • Updated dependencies [5cf13d2]
  • Updated dependencies [72e9d38]
  • Updated dependencies [fb933f9]
  • Updated dependencies [4dbc902]
    • @​ai-sdk/openai@​4.0.91
    • @​ai-sdk/provider@​4.0.26
    • @​ai-sdk/anthropic@​4.0.78
    • @​ai-sdk/provider-utils@​5.0.58

5.0.112

Patch Changes

  • c01cbb8: fix(anthropic): avoid unsupported strict mode warnings when tools set strict: false
  • Updated dependencies [6c59fb1]
  • Updated dependencies [c01cbb8]
    • @​ai-sdk/openai@​4.0.90
    • @​ai-sdk/anthropic@​4.0.77

5.0.111

Patch Changes

  • Updated dependencies [9184a35]
    • @​ai-sdk/provider@​4.0.25
    • @​ai-sdk/provider-utils@​5.0.57
    • @​ai-sdk/openai@​4.0.89
    • @​ai-sdk/anthropic@​4.0.76

5.0.110

Patch Changes

  • 5d42987: fix(amazon-bedrock,anthropic-aws): skip SigV4 signing for non-ASCII header values
  • Updated dependencies [32ff7ad]
    • @​ai-sdk/openai@​4.0.88

5.0.109

Patch Changes

  • 866e884: feat(anthropic): add Claude Haiku 5.5 support

    • add the claude-haiku-5-5 model ID to @ai-sdk/anthropic and @ai-sdk/google-vertex, anthropic.claude-haiku-5-5 and us.anthropic.claude-haiku-5-5 to @ai-sdk/amazon-bedrock, and anthropic/claude-haiku-5.5 to @ai-sdk/gateway
    • recognize claude-haiku-5-5 as a known model with a 128k max output token limit, adaptive thinking, and all five effort levels; thinking can be disabled up to high effort, and xhigh and max are lowered to high with a warning when thinking is disabled

... (truncated)

Commits

Updates @ai-sdk/google from 3.0.127 to 4.0.93

Release notes

Sourced from @​ai-sdk/google's releases.

@​ai-sdk/openai@​4.0.93

Patch Changes

  • 216e2c9: fix(openai): send assistant text with content instead of an item reference when its reasoning was removed

    With reasoning models and store: true, 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". Assistant text parts are now only sent as item references when they are preceded by reasoning in the same assistant message.

@​ai-sdk/provider-utils@​4.0.58

Patch Changes

  • 604b4d3: docs(provider-utils): clarify how ToolApprovalResponse.reason is handled for approved and denied tool calls

@​ai-sdk/perplexity@​3.1.4

Patch Changes

  • Updated dependencies [604b4d3]
    • @​ai-sdk/provider-utils@​4.0.58

@​ai-sdk/react@​3.0.309

Patch Changes

@​ai-sdk/react@​3.0.308

Patch Changes

@​ai-sdk/vue@​3.0.306

Patch Changes

@​ai-sdk/vue@​3.0.305

Patch Changes

  • fac482b: fix(vue): cancel useObject submissions stopped before their request starts
  • 2479c33: fix(vue): preserve headers supplied as a Headers instance in useObject requests
  • Updated dependencies [604b4d3]

@​ai-sdk/svelte@​3.0.276

Patch Changes

@​ai-sdk/svelte@​3.0.275

... (truncated)

Changelog

Sourced from @​ai-sdk/google's changelog.

4.0.93

Patch Changes

  • 5cf13d2: feat: map the top level embedding dimensions to provider settings
  • Updated dependencies [4dbc902]
    • @​ai-sdk/provider@​4.0.26
    • @​ai-sdk/provider-utils@​5.0.58

4.0.92

Patch Changes

  • Updated dependencies [9184a35]
    • @​ai-sdk/provider@​4.0.25
    • @​ai-sdk/provider-utils@​5.0.57

4.0.91

Patch Changes

  • 32ff7ad: Preserve tool errors in OpenAI Chat Completions and Responses by wrapping their payloads in an error object. Send Google tool errors and denied executions under functionResponse.response.error.

4.0.90

Patch Changes

  • Updated dependencies [d3bcad9]
    • @​ai-sdk/provider@​4.0.24
    • @​ai-sdk/provider-utils@​5.0.56

4.0.89

Patch Changes

  • fc1e19e: fix: limit jsonl rows to 64mb during batch result downloads

  • 8c0e699: feat(google): preserve file search custom metadata in retrieved context grounding chunks

  • 753f2e1: feat(google): add the 'gemini-nano-banana-2.1' model ID

  • 268225c: feat(provider): add a portable max reasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.

    Compatibility notes:

    • TypeScript source compatibility: Adding max widens LanguageModelV4CallOptions['reasoning'] and the derived ReasoningLevel type. Third-party providers and consumers with exhaustive switches or Record<ReasoningLevel, ...> mappings must handle max before upgrading. Ordinary calls using existing reasoning levels remain accepted.
    • Amazon Bedrock: Existing Nova 2 calls using portable reasoning: 'xhigh' now send maxReasoningEffort: 'high' instead of the unsupported 'max', and return a compatibility warning. Anthropic and OpenAI Bedrock effort mappings retain their existing xhigh behavior. Partial Bedrock reasoning configurations continue to preserve explicit values and derive missing fields; explicit effort/budget overrides and disabled thinking no longer emit warnings for portable mappings that are not sent.
    • Fireworks: Existing portable minimal and xhigh calls keep their request mappings to low and high, respectively, and now return compatibility warnings in generation and streaming results. Portable max maps to high with the same warning behavior.

    Release classification: This remains a patch changeset under the repository's explicit release policy, which uses patch releases for both fixes and features. The TypeScript source-compatibility caveat for exhaustive consumers is disclosed above. Maintainers can override this classification with a major label if they decide to align the provider-spec addition with a future AI SDK major release.

  • Updated dependencies [fc1e19e]

  • Updated dependencies [5094ebd]

... (truncated)

Commits

Updates @ai-sdk/anthropic from 3.0.41 to 4.0.78

Release notes

Sourced from @​ai-sdk/anthropic's releases.

@​ai-sdk/provider-utils@​4.0.58

Patch Changes

  • 604b4d3: docs(provider-utils): clarify how ToolApprovalResponse.reason is handled for approved and denied tool calls

@​ai-sdk/perplexity@​3.1.4

Patch Changes

  • Updated dependencies [604b4d3]
    • @​ai-sdk/provider-utils@​4.0.58

@​ai-sdk/react@​3.0.309

Patch Changes

@​ai-sdk/react@​3.0.308

Patch Changes

@​ai-sdk/vue@​3.0.306

Patch Changes

@​ai-sdk/vue@​3.0.305

Patch Changes

  • fac482b: fix(vue): cancel useObject submissions stopped before their request starts
  • 2479c33: fix(vue): preserve headers supplied as a Headers instance in useObject requests
  • Updated dependencies [604b4d3]

@​ai-sdk/svelte@​3.0.276

Patch Changes

@​ai-sdk/svelte@​3.0.275

Patch Changes

@​ai-sdk/gateway@​3.0.214

Patch Changes

... (truncated)

Changelog

Sourced from @​ai-sdk/anthropic's changelog.

4.0.78

Patch Changes

  • Updated dependencies [4dbc902]
    • @​ai-sdk/provider@​4.0.26
    • @​ai-sdk/provider-utils@​5.0.58

4.0.77

Patch Changes

  • c01cbb8: fix(anthropic): avoid unsupported strict mode warnings when tools set strict: false

4.0.76

Patch Changes

  • Updated dependencies [9184a35]
    • @​ai-sdk/provider@​4.0.25
    • @​ai-sdk/provider-utils@​5.0.57

4.0.75

Patch Changes

  • 866e884: feat(anthropic): add Claude Haiku 5.5 support

    • add the claude-haiku-5-5 model ID to @ai-sdk/anthropic and @ai-sdk/google-vertex, anthropic.claude-haiku-5-5 and us.anthropic.claude-haiku-5-5 to @ai-sdk/amazon-bedrock, and anthropic/claude-haiku-5.5 to @ai-sdk/gateway
    • recognize claude-haiku-5-5 as a known model with a 128k max output token limit, adaptive thinking, and all five effort levels; thinking can be disabled up to high effort, and xhigh and max are lowered to high with a warning when thinking is disabled
    • claude-haiku-5-5 does not support thinking token budgets: thinking: { type: 'enabled', budgetTokens } is converted to adaptive thinking with a warning
    • use the JSON tool fallback for structured output on Amazon Bedrock for claude-haiku-5-5

4.0.74

Patch Changes

  • Updated dependencies [d3bcad9]
    • @​ai-sdk/provider@​4.0.24
    • @​ai-sdk/provider-utils@​5.0.56

4.0.73

Patch Changes

  • fc1e19e: fix: limit jsonl rows to 64mb during batch result downloads

  • 268225c: feat(provider): add a portable max reasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.

    Compatibility notes:

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​ai-sdk/anthropic since your current version.


Updates @ai-sdk/xai from 3.0.50 to 5.0.20

Release notes

Sourced from @​ai-sdk/xai's releases.

@​ai-sdk/xai@​3.0.140

Patch Changes

  • Updated dependencies [604b4d3]
    • @​ai-sdk/provider-utils@​4.0.58
    • @​ai-sdk/openai-compatible@​2.0.82
Changelog

Sourced from @​ai-sdk/xai's changelog.

5.0.20

Patch Changes

  • Updated dependencies [4dbc902]
    • @​ai-sdk/provider@​4.0.26
    • @​ai-sdk/provider-utils@​5.0.58

5.0.19

Patch Changes

  • Updated dependencies [9184a35]
    • @​ai-sdk/provider@​4.0.25
    • @​ai-sdk/provider-utils@​5.0.57

5.0.18

Patch Changes

  • fab95c1: fix(xai): allow up to 20 allowedXHandles / excludedXHandles in the xSearch tool

5.0.17

Patch Changes

  • Updated dependencies [d3bcad9]
    • @​ai-sdk/provider@​4.0.24
    • @​ai-sdk/provider-utils@​5.0.56

5.0.16

Patch Changes

  • 268225c: feat(provider): add a portable max reasoning level with native provider mappings, compatibility coercions, and budget-based fallback support.

    Compatibility notes:

    • TypeScript source compatibility: Adding max widens LanguageModelV4CallOptions['reasoning'] and the derived ReasoningLevel type. Third-party providers and consumers with exhaustive switches or Record<ReasoningLevel, ...> mappings must handle max before upgrading. Ordinary calls using existing reasoning levels remain accepted.
    • Amazon Bedrock: Existing Nova 2 calls using portable reasoning: 'xhigh' now send maxReasoningEffort: 'high' instead of the unsupported 'max', and return a compatibility warning. Anthropic and OpenAI Bedrock effort mappings retain their existing xhigh behavior. Partial Bedrock reasoning configurations continue to preserve explicit values and derive missing fields; explicit effort/budget overrides and disabled thinking no longer emit warnings for portable mappings that are not sent.
    • Fireworks: Existing portable minimal and xhigh calls keep their request mappings to low and high, respectively, and now return compatibility warnings in generation and streaming results. Portable max maps to high with the same warning behavior.

    Release classification: This remains a patch changeset under the repository's explicit release policy, which uses patch releases for both fixes and features. The TypeScript source-compatibility caveat for exhaustive consumers is disclosed above. Maintainers can override this classification with a major label if they decide to align the provider-spec addition with a future AI SDK major release.

  • 0af2f7c: chore: upgrade to TypeScript 6

  • 0c82824: fix(xai): preserve or report unavailable speaker diarization

  • Updated dependencies [fc1e19e]

  • Updated dependencies [5094ebd]

  • Updated dependencies [268225c]

  • Updated dependencies [0af2f7c]

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​ai-sdk/xai since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 5, 2026
@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

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

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3f339b33-5ade-426d-9ffb-a82ec58f3d89

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

Comment @coderabbitai help to get the list of available commands.

@langwatch-agent langwatch-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 P1 compatibility blocker; details and current CI evidence inline. Static review only; no PR code or dependencies executed locally.

LangWatch-Review: verdict=findings sha=b46d9c0203178f33a3a71d0cd87a090339d4c862 p0=0 p1=1 p2=0 p3=0

Comment thread javascript/package.json Outdated
"@opentelemetry/sdk-trace-base": "2.10.0",
"@opentelemetry/sdk-trace-node": "2.10.0",
"ai": "^6.0.0",
"ai": "^7.0.127",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 · Migrate the example contracts with AI SDK 7

  • What you're looking at. The root and example lock resolutions move to AI SDK 7 without migrating the Vitest example callers.

  • Why it's scary. Current CI fails in llm-provider-mocking.test.ts because GenerateTextResult now needs three type parameters, and in weather-agent.test.ts and tool-call-role-reversal.test.ts because ToolExecutionOptions now requires context. Main still has these callers. Update the examples and their tests in the same dependency migration; the required JavaScript check currently stops at typecheck. Evidence: https://github.com/langwatch/scenario/actions/runs/37373631308/job/111976898611

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/javascript/ai-sdk-d3ba922238 branch from b46d9c0 to 861abea Compare October 7, 2026 12:04

@langwatch-agent langwatch-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous P1 compatibility finding remains at this rebased head; details inline. Static review plus current CI logs only, with no contributor code or dependency execution.

LangWatch-Review: verdict=findings sha=861abea51d9b33c3ca069cb8afb0898259b7e4dc p0=0 p1=1 p2=0 p3=0

Comment thread javascript/package.json Outdated
"@opentelemetry/sdk-trace-base": "2.10.0",
"@opentelemetry/sdk-trace-node": "2.10.0",
"ai": "^6.0.0",
"ai": "^7.0.127",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 · Complete the AI SDK 7 caller migration

  • What you're looking at. The new head still upgrades ai to 7 without updating the example callers identified in the previous review. Main also retains those callers.

  • Why it's scary. Current CI typecheck fails at llm-provider-mocking.test.ts:54 because GenerateTextResult now needs three type arguments, and at tool-call-role-reversal.test.ts:45 and weather-agent.test.ts:47 because ToolExecutionOptions requires context. Migrate these examples with the dependency upgrade and rerun the required JavaScript check.

Bumps the ai-sdk group with 6 updates in the /javascript directory:

| Package | From | To |
| --- | --- | --- |
| [@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai) | `3.0.65` | `4.0.91` |
| [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `6.0.190` | `7.0.137` |
| [@ai-sdk/amazon-bedrock](https://github.com/vercel/ai/tree/HEAD/packages/amazon-bedrock) | `4.0.183` | `5.0.113` |
| [@ai-sdk/google](https://github.com/vercel/ai/tree/HEAD/packages/google) | `3.0.127` | `4.0.93` |
| [@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic) | `3.0.41` | `4.0.78` |
| [@ai-sdk/xai](https://github.com/vercel/ai/tree/HEAD/packages/xai) | `3.0.50` | `5.0.20` |



Updates `@ai-sdk/openai` from 3.0.65 to 4.0.91
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/openai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/[email protected]/packages/openai)

Updates `ai` from 6.0.190 to 7.0.137
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/ai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/[email protected]/packages/ai)

Updates `@ai-sdk/amazon-bedrock` from 4.0.183 to 5.0.113
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/amazon-bedrock/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/[email protected]/packages/amazon-bedrock)

Updates `@ai-sdk/google` from 3.0.127 to 4.0.93
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/google/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/[email protected]/packages/google)

Updates `@ai-sdk/anthropic` from 3.0.41 to 4.0.78
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/anthropic/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/[email protected]/packages/anthropic)

Updates `@ai-sdk/xai` from 3.0.50 to 5.0.20
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/xai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/[email protected]/packages/xai)

---
updated-dependencies:
- dependency-name: "@ai-sdk/amazon-bedrock"
  dependency-version: 5.0.105
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: ai-sdk
- dependency-name: "@ai-sdk/anthropic"
  dependency-version: 4.0.71
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ai-sdk
- dependency-name: "@ai-sdk/google"
  dependency-version: 4.0.87
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: ai-sdk
- dependency-name: "@ai-sdk/openai"
  dependency-version: 4.0.83
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ai-sdk
- dependency-name: "@ai-sdk/xai"
  dependency-version: 5.0.14
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ai-sdk
- dependency-name: ai
  dependency-version: 7.0.127
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: ai-sdk
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/javascript/ai-sdk-d3ba922238 branch from 861abea to dbdea68 Compare October 14, 2026 04:31
@github-actions

Copy link
Copy Markdown
Contributor

Automated low-risk assessment

This PR was evaluated against the repository's Low-Risk Pull Requests procedure and does not qualify as low risk.

The PR upgrades multiple ai-sdk packages and the top-level ai package to new major versions and updates the pnpm lockfile and engine requirements. These are dependency changes that affect integrations with external AI providers and runtime behavior (including Node engine bumps), so they do not meet the policy’s "no changes to integrations or external APIs" requirement and should receive a normal review.

This PR requires a manual review before merging.

@langwatch-agent langwatch-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Reviewer: 1 P1 finding, detailed inline. Static diff/current-base review and existing CI only; no PR code executed.

LangWatch-Review: verdict=findings sha=dbdea687a160646f53e05a7203d96c3d2dcf53a7 p0=0 p1=1 p2=0 p3=0

"@langwatch/scenario": "workspace:*",
"@openai/agents": "^0.16.0",
"ai": "^6.0.0",
"ai": "^7.0.137",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 · Migrate the example contracts together with AI SDK 7

  • What you're looking at. The example package is upgraded to AI SDK 7 without adapting its direct GenerateTextResult and tool.execute uses.

  • Why it's scary. Current CI fails llm-provider-mocking.test.ts:54 because GenerateTextResult now requires three type arguments, and tool-call-role-reversal.test.ts:45 plus weather-agent.test.ts:47 because ToolExecutionOptions requires context. Those unchanged callers also remain on main, where AI SDK 6 supports them. Migrate the callers and run the example typecheck with the major bump. Evidence: https://github.com/langwatch/scenario/actions/runs/38511821816/job/115681859073.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant