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
b46d9c0 to
861abea
Compare
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: | 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]>
861abea to
dbdea68
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.
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", |
There was a problem hiding this comment.
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.
Bumps the ai-sdk group with 6 updates in the /javascript directory:
3.0.654.0.916.0.1907.0.1374.0.1835.0.1133.0.1274.0.933.0.414.0.783.0.505.0.20Updates
@ai-sdk/openaifrom 3.0.65 to 4.0.91Release notes
Sourced from @ai-sdk/openai's releases.
Changelog
Sourced from @ai-sdk/openai's changelog.
... (truncated)
Commits
50203a8Version Packages (#22320)5cf13d2feat: map the top level embedding dimensions to provider settings (#22338)72e9d38feat(openai): send image detail in decisions (#22287)fb933f9fix(openai): report failed web searches as tool errors (#22330)c78c1beVersion Packages (#22311)6c59fb1fix: preserve sampling parameters for GPT-6 Sol and Luna when reasoning is di...be51c73Version Packages (#22274)9184a35feat: accept multimodal input indecide(#22229)0735a87Version Packages (#22242)32ff7adfix(openai,google): preserve tool error semantics (#22209)Updates
aifrom 6.0.190 to 7.0.137Release notes
Sourced from ai's releases.
Changelog
Sourced from ai's changelog.
... (truncated)
Commits
98fac2bVersion Packages (#22428)e27cc64fix: prevent readUIMessageStream from adopting content from an unrelated assi...e00b1b1Version Packages (#22348)e280aa1feat(gateway): send image files in decision state (#22286)7b5497cfix(ai): clearchunkMstimeout during tool execution (#22341)50203a8Version Packages (#22320)4dbc902feat(ai): add a top level 'dimensions' setting for embeddding functions (#22335)9be846cfeat: add a persistent WebSocket ChatTransport with correlated streaming, ser...ff18b73fix: chat.stop() resolving before active stream processing and callback-drive...7c40a09feat(ai): log warning when default step limit stops a tool loop (#22329)Updates
@ai-sdk/amazon-bedrockfrom 4.0.183 to 5.0.113Release notes
Sourced from @ai-sdk/amazon-bedrock's releases.
Changelog
Sourced from @ai-sdk/amazon-bedrock's changelog.
... (truncated)
Commits
50203a8Version Packages (#22320)5cf13d2feat: map the top level embedding dimensions to provider settings (#22338)c78c1beVersion Packages (#22311)c01cbb8fix: suppress unsupported strict-mode warnings when strict mode is disabled (...be51c73Version Packages (#22274)0735a87Version Packages (#22242)5d42987fix(amazon-bedrock,anthropic-aws): skip SigV4 signing for non-ASCII header va...f836e03Version Packages (#22224)866e884feat(provider/anthropic): add Claude Haiku 5.5 support (#22239)e7f55a4Version Packages (#22198)Updates
@ai-sdk/googlefrom 3.0.127 to 4.0.93Release notes
Sourced from @ai-sdk/google's releases.
... (truncated)
Changelog
Sourced from @ai-sdk/google's changelog.
... (truncated)
Commits
50203a8Version Packages (#22320)5cf13d2feat: map the top level embedding dimensions to provider settings (#22338)be51c73Version Packages (#22274)9184a35feat: accept multimodal input indecide(#22229)0735a87Version Packages (#22242)32ff7adfix(openai,google): preserve tool error semantics (#22209)e7f55a4Version Packages (#22198)8f4eb0dVersion Packages (#22124)fc1e19efix(provider-utils): add option to limit jsonl rows in batch downloads (#22096)8c0e699feat(google): preserve file search custom metadata in retrieved context groun...Updates
@ai-sdk/anthropicfrom 3.0.41 to 4.0.78Release notes
Sourced from @ai-sdk/anthropic's releases.
... (truncated)
Changelog
Sourced from @ai-sdk/anthropic's changelog.
... (truncated)
Commits
50203a8Version Packages (#22320)c78c1beVersion Packages (#22311)c01cbb8fix: suppress unsupported strict-mode warnings when strict mode is disabled (...be51c73Version Packages (#22274)9184a35feat: accept multimodal input indecide(#22229)f836e03Version Packages (#22224)866e884feat(provider/anthropic): add Claude Haiku 5.5 support (#22239)e7f55a4Version Packages (#22198)8f4eb0dVersion Packages (#22124)fc1e19efix(provider-utils): add option to limit jsonl rows in batch downloads (#22096)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.20Release notes
Sourced from @ai-sdk/xai's releases.
Changelog
Sourced from @ai-sdk/xai's changelog.
... (truncated)
Commits
50203a8Version Packages (#22320)be51c73Version Packages (#22274)f836e03Version Packages (#22224)fab95c1fix(xai): allow up to 20 X handles in the xSearch tool (#22225)e7f55a4Version Packages (#22198)8f4eb0dVersion Packages (#22124)0c82824fix: preserve xAI transcription speaker diarization or warn when Gateway cann...268225cfeat: add a portable max reasoning level across supported providers (#22045)0af2f7cchore: upgrade to TypeScript 6 (#21786)92e2a4bVersion Packages (#21938)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@ai-sdk/xaisince your current version.