Repository navigation
chore(deps): bump the ai-sdk group across 1 directory with 6 updates - #1012
dependabot[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
langwatch-agent
left a comment
There was a problem hiding this comment.
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
| "@opentelemetry/sdk-trace-base": "2.10.0", | ||
| "@opentelemetry/sdk-trace-node": "2.10.0", | ||
| "ai": "^6.0.0", | ||
| "ai": "^7.0.127", |
There was a problem hiding this comment.
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
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.83` | | [ai](https://github.com/vercel/ai/tree/HEAD/packages/ai) | `6.0.190` | `7.0.127` | | [@ai-sdk/amazon-bedrock](https://github.com/vercel/ai/tree/HEAD/packages/amazon-bedrock) | `4.0.183` | `5.0.105` | | [@ai-sdk/google](https://github.com/vercel/ai/tree/HEAD/packages/google) | `3.0.127` | `4.0.87` | | [@ai-sdk/anthropic](https://github.com/vercel/ai/tree/HEAD/packages/anthropic) | `3.0.41` | `4.0.71` | | [@ai-sdk/xai](https://github.com/vercel/ai/tree/HEAD/packages/xai) | `3.0.50` | `5.0.14` | Updates `@ai-sdk/openai` from 3.0.65 to 4.0.83 - [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/openai@4.0.83/packages/openai) Updates `ai` from 6.0.190 to 7.0.127 - [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/ai@7.0.127/packages/ai) Updates `@ai-sdk/amazon-bedrock` from 4.0.183 to 5.0.105 - [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/amazon-bedrock@5.0.105/packages/amazon-bedrock) Updates `@ai-sdk/google` from 3.0.127 to 4.0.87 - [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/google@4.0.87/packages/google) Updates `@ai-sdk/anthropic` from 3.0.41 to 4.0.71 - [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/anthropic@4.0.71/packages/anthropic) Updates `@ai-sdk/xai` from 3.0.50 to 5.0.14 - [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/xai@5.0.14/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] <support@github.com>
b46d9c0 to
861abea
Compare
|
Automated low-risk assessment This PR was evaluated against the repository's Low-Risk Pull Requests procedure and does not qualify as low risk.
This PR requires a manual review before merging. |
langwatch-agent
left a comment
There was a problem hiding this comment.
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
| "@opentelemetry/sdk-trace-base": "2.10.0", | ||
| "@opentelemetry/sdk-trace-node": "2.10.0", | ||
| "ai": "^6.0.0", | ||
| "ai": "^7.0.127", |
There was a problem hiding this comment.
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:
3.0.654.0.836.0.1907.0.1274.0.1835.0.1053.0.1274.0.873.0.414.0.713.0.505.0.14Updates
@ai-sdk/openaifrom 3.0.65 to 4.0.83Changelog
Sourced from @ai-sdk/openai's changelog.
... (truncated)
Commits
eb93c81Version Packages (#21822)8c65988feat: support telemetry for speech generation and streaming and non-streaming...161a7fdVersion Packages (#21718)ede5b89chore: move fromtsuptotsdown(#21642)040033bfeat(openai): add GPT-6.1 Sol model support (#21747)b6264f2Version Packages (#21711)4e94782fix(openai): rewrite recursive Zod schemas that useallOfwrappers (#21678)1040e97Version Packages (#21638)c2511c1fix: use standards-compliant User-Agent header (#21344)20ad146Version Packages (#21569)Updates
aifrom 6.0.190 to 7.0.127Changelog
Sourced from ai's changelog.
... (truncated)
Commits
eb77f09Version Packages (#21908)284dc11fix: accept structurally identical cross-realm tool approval inputs (#21810)bb8d33efix: propagate createUIMessageStream consumer cancellation to merged streams ...158a718feat(ai): select and rank eligible deferred tools via 'search()' callback in ...ba8afe9feat(ai): add a configurable maxResults for number of tools returned in tool ...45e1fbcVersion Packages (#21880)ce87e49Version Packages (#21868)4f3d236fix: clear tool approvals whenaddToolOutputruns (#21879)ff3dceffeat(ai): addconvertDataPartto agent UI stream helpers (#21816)eb93c81Version Packages (#21822)Updates
@ai-sdk/amazon-bedrockfrom 4.0.183 to 5.0.105Changelog
Sourced from @ai-sdk/amazon-bedrock's changelog.
... (truncated)
Commits
eb77f09Version Packages (#21908)2850ad8feat(amazon-bedrock): add requestMetadata support for Converse and ConverseSt...ce87e49Version Packages (#21868)eb93c81Version Packages (#21822)527a163fix: validate hostname parts (#21842)161a7fdVersion Packages (#21718)ede5b89chore: move fromtsuptotsdown(#21642)b6264f2Version Packages (#21711)1040e97Version Packages (#21638)c2511c1fix: use standards-compliant User-Agent header (#21344)Updates
@ai-sdk/googlefrom 3.0.127 to 4.0.87Changelog
Sourced from @ai-sdk/google's changelog.
... (truncated)
Commits
eb93c81Version Packages (#21822)8c65988feat: support telemetry for speech generation and streaming and non-streaming...161a7fdVersion Packages (#21718)ede5b89chore: move fromtsuptotsdown(#21642)1040e97Version Packages (#21638)c2511c1fix: use standards-compliant User-Agent header (#21344)ec683e7Version Packages (#21626)d0290cffix: Google Realtime overwrites or misgroups user transcriptions in multi-tur...20ad146Version Packages (#21569)525efc5feat: advertise image model file and mask input capabilities (#19230)Updates
@ai-sdk/anthropicfrom 3.0.41 to 4.0.71Changelog
Sourced from @ai-sdk/anthropic's changelog.
... (truncated)
Commits
ce87e49Version Packages (#21868)c35458efix(anthropic): preserve invalid toolset calls (#21875)eb93c81Version Packages (#21822)161a7fdVersion Packages (#21718)a587f55fix: Anthropic mid-output fallback responses could not be safely replayed wit...ede5b89chore: move fromtsuptotsdown(#21642)1040e97Version Packages (#21638)c2511c1fix: use standards-compliant User-Agent header (#21344)ec683e7Version Packages (#21626)e361d39feat(provider/anthropic): add Claude Sonnet 5.5 support (#21631)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@ai-sdk/anthropicsince your current version.Updates
@ai-sdk/xaifrom 3.0.50 to 5.0.14Changelog
Sourced from @ai-sdk/xai's changelog.
... (truncated)
Commits
eb93c81Version Packages (#21822)161a7fdVersion Packages (#21718)ede5b89chore: move fromtsuptotsdown(#21642)1040e97Version Packages (#21638)c2511c1fix: use standards-compliant User-Agent header (#21344)20ad146Version Packages (#21569)525efc5feat: advertise image model file and mask input capabilities (#19230)ee3169bVersion Packages (#21508)00f50d9Version Packages (#21466)3f3a717Version Packages (#21417)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@ai-sdk/xaisince your current version.