diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.json b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.json index 31e6a2487..2a3672f98 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.json +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.json @@ -4899,7 +4899,7 @@ } ], "metadata": { - "aiSdkVersion": "5.0.228", + "aiSdkVersion": "5.0.262", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.txt b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.txt index 3d5540e20..9bb3bbbff 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.txt +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-auto-hook.span-tree.txt @@ -1,7 +1,7 @@ span_tree: └── ai-sdk-instrumentation-root [task] metadata: { - "aiSdkVersion": "5.0.228", + "aiSdkVersion": "5.0.262", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.json b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.json index dc26bd435..5a5bbf5e3 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.json +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.json @@ -4566,7 +4566,7 @@ } ], "metadata": { - "aiSdkVersion": "5.0.228", + "aiSdkVersion": "5.0.262", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.txt b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.txt index a55fdc502..0930c74dd 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.txt +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v5-latest-wrapped.span-tree.txt @@ -1,7 +1,7 @@ span_tree: └── ai-sdk-instrumentation-root [task] metadata: { - "aiSdkVersion": "5.0.228", + "aiSdkVersion": "5.0.262", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.json b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.json index 72259afcc..6c36697b9 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.json +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.json @@ -8596,7 +8596,7 @@ } ], "metadata": { - "aiSdkVersion": "6.0.246", + "aiSdkVersion": "6.0.287", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.txt b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.txt index 5d687c3e8..8d99ba11c 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.txt +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-auto-hook.span-tree.txt @@ -1,7 +1,7 @@ span_tree: └── ai-sdk-instrumentation-root [task] metadata: { - "aiSdkVersion": "6.0.246", + "aiSdkVersion": "6.0.287", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.json b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.json index 28510a98d..4e3f0ad81 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.json +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.json @@ -7351,7 +7351,7 @@ } ], "metadata": { - "aiSdkVersion": "6.0.246", + "aiSdkVersion": "6.0.287", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.txt b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.txt index 0791e07b1..d7b22e770 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.txt +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v6-latest-wrapped.span-tree.txt @@ -1,7 +1,7 @@ span_tree: └── ai-sdk-instrumentation-root [task] metadata: { - "aiSdkVersion": "6.0.246", + "aiSdkVersion": "6.0.287", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.json b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.json index 562358138..dd588292f 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.json +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.json @@ -7782,7 +7782,7 @@ } ], "metadata": { - "aiSdkVersion": "7.0.105", + "aiSdkVersion": "7.0.108", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.txt b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.txt index bbfa98cb0..f208a76c0 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.txt +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-auto-hook.span-tree.txt @@ -1,7 +1,7 @@ span_tree: └── ai-sdk-instrumentation-root [task] metadata: { - "aiSdkVersion": "7.0.105", + "aiSdkVersion": "7.0.108", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.json b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.json index 562358138..dd588292f 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.json +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.json @@ -7782,7 +7782,7 @@ } ], "metadata": { - "aiSdkVersion": "7.0.105", + "aiSdkVersion": "7.0.108", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.txt b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.txt index bbfa98cb0..f208a76c0 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.txt +++ b/e2e/scenarios/ai-sdk-instrumentation/__snapshots__/ai-sdk-v7-latest-explicit.span-tree.txt @@ -1,7 +1,7 @@ span_tree: └── ai-sdk-instrumentation-root [task] metadata: { - "aiSdkVersion": "7.0.105", + "aiSdkVersion": "7.0.108", "scenario": "ai-sdk-instrumentation", "testRunId": "" } diff --git a/e2e/scenarios/ai-sdk-instrumentation/package.json b/e2e/scenarios/ai-sdk-instrumentation/package.json index 67551e5f2..899dd6106 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/package.json +++ b/e2e/scenarios/ai-sdk-instrumentation/package.json @@ -83,7 +83,7 @@ "ai-sdk-openai-v4": "npm:@ai-sdk/openai@1.3.24", "ai-sdk-openai-v4-latest": "npm:@ai-sdk/openai@1.3.24", "ai-sdk-v5": "npm:ai@5.0.82", - "ai-sdk-v5-latest": "npm:ai@5.0.228", + "ai-sdk-v5-latest": "npm:ai@5.0.262", "ai-sdk-openai-v5": "npm:@ai-sdk/openai@2.0.57", "ai-sdk-openai-v5-latest": "npm:@ai-sdk/openai@2.0.117", "ai-sdk-anthropic-v5": "npm:@ai-sdk/anthropic@2.0.74", @@ -91,7 +91,7 @@ "ai-sdk-cohere-v5": "npm:@ai-sdk/cohere@2.0.7", "ai-sdk-cohere-v5-latest": "npm:@ai-sdk/cohere@2.0.35", "ai-sdk-v6": "npm:ai@6.0.1", - "ai-sdk-v6-latest": "npm:ai@6.0.246", + "ai-sdk-v6-latest": "npm:ai@6.0.287", "ai-sdk-openai-v6": "npm:@ai-sdk/openai@3.0.7", "ai-sdk-openai-v6-latest": "npm:@ai-sdk/openai@3.0.91", "ai-sdk-anthropic-v6": "npm:@ai-sdk/anthropic@3.0.69", @@ -99,7 +99,7 @@ "ai-sdk-cohere-v6": "npm:@ai-sdk/cohere@3.0.7", "ai-sdk-cohere-v6-latest": "npm:@ai-sdk/cohere@3.0.51", "ai-sdk-v7": "npm:ai@7.0.103", - "ai-sdk-v7-latest": "npm:ai@7.0.105", + "ai-sdk-v7-latest": "npm:ai@7.0.108", "ai-sdk-openai-v7": "npm:@ai-sdk/openai@4.0.0", "ai-sdk-openai-v7-latest": "npm:@ai-sdk/openai@4.0.36", "ai-sdk-anthropic-v7": "npm:@ai-sdk/anthropic@4.0.0", diff --git a/e2e/scenarios/ai-sdk-instrumentation/pnpm-lock.yaml b/e2e/scenarios/ai-sdk-instrumentation/pnpm-lock.yaml index f33109c17..720fa3c93 100644 --- a/e2e/scenarios/ai-sdk-instrumentation/pnpm-lock.yaml +++ b/e2e/scenarios/ai-sdk-instrumentation/pnpm-lock.yaml @@ -102,20 +102,20 @@ importers: specifier: npm:ai@5.0.82 version: ai@5.0.82(zod@3.25.76) ai-sdk-v5-latest: - specifier: npm:ai@5.0.228 - version: ai@5.0.228(zod@3.25.76) + specifier: npm:ai@5.0.262 + version: ai@5.0.262(zod@3.25.76) ai-sdk-v6: specifier: npm:ai@6.0.1 version: ai@6.0.1(zod@3.25.76) ai-sdk-v6-latest: - specifier: npm:ai@6.0.246 - version: ai@6.0.246(zod@3.25.76) + specifier: npm:ai@6.0.287 + version: ai@6.0.287(zod@3.25.76) ai-sdk-v7: specifier: npm:ai@7.0.103 version: ai@7.0.103(zod@3.25.76) ai-sdk-v7-latest: - specifier: npm:ai@7.0.105 - version: ai@7.0.105(zod@3.25.76) + specifier: npm:ai@7.0.108 + version: ai@7.0.108(zod@3.25.76) ai-sdk-workflow-v1: specifier: npm:@ai-sdk/workflow@1.0.8 version: '@ai-sdk/workflow@1.0.8(zod@3.25.76)' @@ -197,8 +197,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/gateway@2.0.127': - resolution: {integrity: sha512-SiD2kyR2J4fEY0FTXYpNznwWN90ohrwzAMi2laZCGkI/lL8DmyJ31zFzMYJvzRusp2IQYmvkYQWOpZpBl01xYw==} + '@ai-sdk/gateway@2.0.154': + resolution: {integrity: sha512-3g7fFx5rcIaaFJaPh0IZY5SZEfmsjfTL8cpGnRRFV/Id7SslepMNBmH3jYZ6AW5suHuvvIDmro3ea/GM1ikxvg==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -215,8 +215,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/gateway@3.0.166': - resolution: {integrity: sha512-DHmHmu7yvTgMRLbB28+oe0/L645HckluwibD4WiL0aSdWUkZ9nl51BMMEuD1ed90arRlmhP/l4iszdH1c9JzFg==} + '@ai-sdk/gateway@3.0.197': + resolution: {integrity: sha512-F6gB8qMi/Ls/Iyp2kN1q54WdpwjQaT1VUOUs8RaTIL6ysNOefPxEfMJm0Vv7Z93iNL+TBSL4DhScaZCXtd7wDA==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -233,8 +233,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/gateway@4.0.85': - resolution: {integrity: sha512-c8ztST/CslupqO3p7izsAuG3TlKg9mhE6mGJ42iUADsSMJIV5IOKd9AsLG33QCAY7SWs6NDO2giM/rq7bUTNlQ==} + '@ai-sdk/gateway@4.0.88': + resolution: {integrity: sha512-hpEdOAqrp3FOShSytk6n8BZVZ/xrCV7L9hqYA6Q55h7sQknvh99QfC0uQAIbQWjh+66tmo1Fo6ndQla8uCJGyA==} engines: {node: '>=22'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -335,6 +335,12 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@3.0.37': + resolution: {integrity: sha512-mLx1SgE20xKQ87xME+9uG6pFlYPTqGDrMFrZ6XcytDnmbWGwmCIh2Xb9zFrfXUrKycSFRDet4Zovj388L9b1dg==} + engines: {node: '>=18'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@3.0.7': resolution: {integrity: sha512-o3BS5/t8KnBL3ubP8k3w77AByOypLm+pkIL/DCw0qKkhDbvhCy+L3hRTGPikpdb8WHcylAeKsjgwOxhj4cqTUA==} engines: {node: '>=18'} @@ -365,6 +371,12 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@4.0.52': + resolution: {integrity: sha512-cUimyIz1jjwYoF9n6HO7sU+UBW7Nu3T4lW7562yRvEhM9/8JqlW4cecxSpkiafjRzAphZG2NfJ3/Ch5cHoCIhg==} + engines: {node: '>=18.17'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@4.0.7': resolution: {integrity: sha512-ItzTdBxRLieGz1GHPwl9X3+HKfwTfFd9MdIa91aXRnOjUVRw68ENjAGKm3FcXGsBLkXDLaFWgjbTVdXe2igs2w==} engines: {node: '>=18'} @@ -395,8 +407,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/provider-utils@5.0.43': - resolution: {integrity: sha512-gw/bcNseOGSs59TMtV4H1KwqXXe24NHgx+uBYr98pa4Fg6Uvp8hPPxjuckVnfFFyIxHCDew8so0ujpvcSuyMZA==} + '@ai-sdk/provider-utils@5.0.45': + resolution: {integrity: sha512-gLuaCups8OCIRz3eO6WWz5op7VLYNNtFzyH0sWUr0FE9v7cTxR0qxDpQdrKnGcql+9WWttobjnZsJVsuEbsPQQ==} engines: {node: '>=22'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -425,6 +437,10 @@ packages: resolution: {integrity: sha512-h88OPkavHTiN9tMn2l5awAznGB0lXzjcLhgR1/rvjB2zlLprsNxbM2tt6OJsHUxduLC3klq0/eqaSf6fX5XVww==} engines: {node: '>=18'} + '@ai-sdk/provider@2.0.4': + resolution: {integrity: sha512-B0M50w0W43jTzZGyZrNwwaK1M79aKPw6PD/dQhkBR7vkR68yCINWBo2CbBLJrbrqYc46TaiSfsTiT+S9EmVl0w==} + engines: {node: '>=18'} + '@ai-sdk/provider@3.0.0': resolution: {integrity: sha512-m9ka3ptkPQbaHHZHqDXDF9C9B5/Mav0KTdky1k2HZ3/nrW2t1AgObxIVPyGDWQNS9FXT/FS6PIoSjpcP/No8rQ==} engines: {node: '>=18'} @@ -433,6 +449,10 @@ packages: resolution: {integrity: sha512-5X1k57JBJ4H7H1QjX7CnJYAB1I19r/trVZTMcSms7/kLNZ8RaU4Nt2agcwZzv82Hfx6Q7/TOLU7agAKeFfc8cA==} engines: {node: '>=18'} + '@ai-sdk/provider@3.0.16': + resolution: {integrity: sha512-9Av6kg0t/IN/dcYAAmEJ4B9OPhcEJqwSR+GfHEA8olRkindXpUHadc3p3cyvgFUQFTVm1G5thtsmgZ9yVb2w3A==} + engines: {node: '>=18'} + '@ai-sdk/provider@3.0.2': resolution: {integrity: sha512-HrEmNt/BH/hkQ7zpi2o6N3k1ZR1QTb7z85WYhYygiTxOQuaml4CMtHCWRbric5WPU+RNsYI7r1EpyVQMKO1pYw==} engines: {node: '>=18'} @@ -673,8 +693,8 @@ packages: react: optional: true - ai@5.0.228: - resolution: {integrity: sha512-gf/LK4IsbvRCVrBARrVt+qTyGhYYRVC9WGBtrjXU83B7LI88YG/SVoxjxfdDlrAcdQ3FsIrBw08B0oHi1ho36Q==} + ai@5.0.262: + resolution: {integrity: sha512-9z25r9a8kQBrbPQAk9EWsMVRdNrU66fI/7GKtxe6TrgGF3DxuOg90FVNvqDDMDQ69IFpDFdjUWYUMRIC/nCpWA==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -691,8 +711,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - ai@6.0.246: - resolution: {integrity: sha512-3sFlNjA2+Oo1q1DDzy9KZKr3EjO3nzBVI4zpXPnp2/6uDDW83btpD0qpxMpMImVp/DfTzkBo+XCTxRolSHKRQA==} + ai@6.0.287: + resolution: {integrity: sha512-3cKALOZRZp4L/Kw1GFzbRJ2eqXPtf1HxFensYakwZCSQID6B/NKqw63nk3sTikpXKOZaG06xwAD6xVicsrpdkA==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -703,8 +723,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - ai@7.0.105: - resolution: {integrity: sha512-gkV3W+tTtWwQ41KNV/KjV8wabBrk+bnbnZ3f0AWp/T9LLyljose8uhFViKleVy7tIdEiR2PiS4BpbNdcExf7rQ==} + ai@7.0.108: + resolution: {integrity: sha512-rYFuWl4H4Ki3hclcLm0UFxNQStooBkXMo5KCgFl6S/Snp/PxBEUa4c8XwgKIVHsQp1A6ZTyLAbRKolUIGJ10SQ==} engines: {node: '>=22'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -958,10 +978,10 @@ snapshots: '@ai-sdk/provider-utils': 5.0.25(zod@3.25.76) zod: 3.25.76 - '@ai-sdk/gateway@2.0.127(zod@3.25.76)': + '@ai-sdk/gateway@2.0.154(zod@3.25.76)': dependencies: - '@ai-sdk/provider': 2.0.3 - '@ai-sdk/provider-utils': 3.0.31(zod@3.25.76) + '@ai-sdk/provider': 2.0.4 + '@ai-sdk/provider-utils': 3.0.37(zod@3.25.76) '@vercel/oidc': 3.1.0 zod: 3.25.76 @@ -979,10 +999,10 @@ snapshots: '@vercel/oidc': 3.0.5 zod: 3.25.76 - '@ai-sdk/gateway@3.0.166(zod@3.25.76)': + '@ai-sdk/gateway@3.0.197(zod@3.25.76)': dependencies: - '@ai-sdk/provider': 3.0.14 - '@ai-sdk/provider-utils': 4.0.42(zod@3.25.76) + '@ai-sdk/provider': 3.0.16 + '@ai-sdk/provider-utils': 4.0.52(zod@3.25.76) '@vercel/oidc': 3.2.0 zod: 3.25.76 @@ -1000,10 +1020,10 @@ snapshots: '@vercel/oidc': 3.2.0 zod: 3.25.76 - '@ai-sdk/gateway@4.0.85(zod@3.25.76)': + '@ai-sdk/gateway@4.0.88(zod@3.25.76)': dependencies: '@ai-sdk/provider': 4.0.17 - '@ai-sdk/provider-utils': 5.0.43(zod@3.25.76) + '@ai-sdk/provider-utils': 5.0.45(zod@3.25.76) '@vercel/oidc': 3.2.0 zod: 3.25.76 @@ -1108,6 +1128,14 @@ snapshots: undici: 6.28.0 zod: 3.25.76 + '@ai-sdk/provider-utils@3.0.37(zod@3.25.76)': + dependencies: + '@ai-sdk/provider': 2.0.4 + '@standard-schema/spec': 1.1.0 + eventsource-parser: 3.0.8 + undici: 6.28.0 + zod: 3.25.76 + '@ai-sdk/provider-utils@3.0.7(zod@3.25.76)': dependencies: '@ai-sdk/provider': 2.0.0 @@ -1144,6 +1172,14 @@ snapshots: undici: 6.28.0 zod: 3.25.76 + '@ai-sdk/provider-utils@4.0.52(zod@3.25.76)': + dependencies: + '@ai-sdk/provider': 3.0.16 + '@standard-schema/spec': 1.1.0 + eventsource-parser: 3.0.8 + undici: 6.28.0 + zod: 3.25.76 + '@ai-sdk/provider-utils@4.0.7(zod@3.25.76)': dependencies: '@ai-sdk/provider': 3.0.3 @@ -1185,7 +1221,7 @@ snapshots: undici: 7.29.0 zod: 3.25.76 - '@ai-sdk/provider-utils@5.0.43(zod@3.25.76)': + '@ai-sdk/provider-utils@5.0.45(zod@3.25.76)': dependencies: '@ai-sdk/provider': 4.0.17 '@standard-schema/spec': 1.1.0 @@ -1218,6 +1254,10 @@ snapshots: dependencies: json-schema: 0.4.0 + '@ai-sdk/provider@2.0.4': + dependencies: + json-schema: 0.4.0 + '@ai-sdk/provider@3.0.0': dependencies: json-schema: 0.4.0 @@ -1226,6 +1266,10 @@ snapshots: dependencies: json-schema: 0.4.0 + '@ai-sdk/provider@3.0.16': + dependencies: + json-schema: 0.4.0 + '@ai-sdk/provider@3.0.2': dependencies: json-schema: 0.4.0 @@ -1478,11 +1522,11 @@ snapshots: optionalDependencies: react: 19.2.6 - ai@5.0.228(zod@3.25.76): + ai@5.0.262(zod@3.25.76): dependencies: - '@ai-sdk/gateway': 2.0.127(zod@3.25.76) - '@ai-sdk/provider': 2.0.3 - '@ai-sdk/provider-utils': 3.0.31(zod@3.25.76) + '@ai-sdk/gateway': 2.0.154(zod@3.25.76) + '@ai-sdk/provider': 2.0.4 + '@ai-sdk/provider-utils': 3.0.37(zod@3.25.76) '@opentelemetry/api': 1.9.0 zod: 3.25.76 @@ -1502,11 +1546,11 @@ snapshots: '@opentelemetry/api': 1.9.0 zod: 3.25.76 - ai@6.0.246(zod@3.25.76): + ai@6.0.287(zod@3.25.76): dependencies: - '@ai-sdk/gateway': 3.0.166(zod@3.25.76) - '@ai-sdk/provider': 3.0.14 - '@ai-sdk/provider-utils': 4.0.42(zod@3.25.76) + '@ai-sdk/gateway': 3.0.197(zod@3.25.76) + '@ai-sdk/provider': 3.0.16 + '@ai-sdk/provider-utils': 4.0.52(zod@3.25.76) '@opentelemetry/api': 1.9.0 zod: 3.25.76 @@ -1517,11 +1561,11 @@ snapshots: '@ai-sdk/provider-utils': 5.0.42(zod@3.25.76) zod: 3.25.76 - ai@7.0.105(zod@3.25.76): + ai@7.0.108(zod@3.25.76): dependencies: - '@ai-sdk/gateway': 4.0.85(zod@3.25.76) + '@ai-sdk/gateway': 4.0.88(zod@3.25.76) '@ai-sdk/provider': 4.0.17 - '@ai-sdk/provider-utils': 5.0.43(zod@3.25.76) + '@ai-sdk/provider-utils': 5.0.45(zod@3.25.76) zod: 3.25.76 ai@7.0.8(zod@3.25.76): diff --git a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.json b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.json index d1a99dc96..68b0ae40f 100644 --- a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.json +++ b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.json @@ -8,7 +8,7 @@ "ai.model.provider": "openai.responses", "ai.operationId": "ai.generateText", "ai.prompt": "{\"prompt\":\"Reply with the single token PARIS and no punctuation.\"}", - "ai.request.headers.user-agent": "ai/5.0.244", + "ai.request.headers.user-agent": "ai/5.0.262", "ai.response.finishReason": "stop", "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_070bd28984c8e290006a8d155e25fc87d2a6fa03f0f67784cb\",\"serviceTier\":\"default\",\"usage\":{\"cacheWriteTokens\":0}}}", "ai.response.text": "PARIS", @@ -17,7 +17,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-generate", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.completionTokens": 3, "ai.usage.promptTokens": 18, @@ -33,7 +33,7 @@ "ai.model.provider": "openai.responses", "ai.operationId": "ai.generateText", "ai.prompt": "{\"system\":\"You must inspect live weather via the provided get_weather tool before responding.\",\"prompt\":\"Use the get_weather tool for Paris, France. If you do not call the tool, the answer is invalid.\"}", - "ai.request.headers.user-agent": "ai/5.0.244", + "ai.request.headers.user-agent": "ai/5.0.262", "ai.response.finishReason": "tool-calls", "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_0dbb1d1c8fe6d5fb006a8d1562d57c87d28960ce0372b3eb22\",\"serviceTier\":\"default\",\"usage\":{\"cacheWriteTokens\":0}}}", "ai.response.toolCalls": "[{\"toolCallId\":\"call_YhZSZ83YXUw8QoeJ4UxwH8qx\",\"toolName\":\"get_weather\",\"input\":\"{\\\"location\\\":\\\"Paris, France\\\"}\"}]", @@ -42,7 +42,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.completionTokens": 8, "ai.usage.promptTokens": 211, @@ -62,7 +62,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/5.0.244", + "ai.request.headers.user-agent": "ai/5.0.262", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d1562d57c87d28960ce0372b3eb22", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -74,7 +74,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.completionTokens": 8, "ai.usage.promptTokens": 211, @@ -105,7 +105,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/5.0.244", + "ai.request.headers.user-agent": "ai/5.0.262", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d15622c2487d293005d1a9367f074", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -117,7 +117,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.completionTokens": 8, "ai.usage.promptTokens": 172, @@ -148,7 +148,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/5.0.244", + "ai.request.headers.user-agent": "ai/5.0.262", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d156067a887d2ab18f4b59acb52d2", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -160,7 +160,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.completionTokens": 8, "ai.usage.promptTokens": 133, @@ -191,7 +191,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/5.0.244", + "ai.request.headers.user-agent": "ai/5.0.262", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d155f79a487d282d3f22a2f46bbc9", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -203,7 +203,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.completionTokens": 8, "ai.usage.promptTokens": 94, @@ -230,7 +230,7 @@ "ai.model.provider": "openai.responses", "ai.operationId": "ai.generateText.doGenerate", "ai.prompt.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"Reply with the single token PARIS and no punctuation.\"}]}]", - "ai.request.headers.user-agent": "ai/5.0.244", + "ai.request.headers.user-agent": "ai/5.0.262", "ai.response.finishReason": "stop", "ai.response.id": "resp_070bd28984c8e290006a8d155e25fc87d2a6fa03f0f67784cb", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -242,7 +242,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-generate", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.completionTokens": 3, "ai.usage.promptTokens": 18, @@ -277,7 +277,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-stream", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokens": 22, @@ -310,7 +310,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-stream", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "5.0.244", + "ai.telemetry.metadata.sdkVersion": "5.0.262", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokens": 22, @@ -338,6 +338,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "5.0.262", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_knLKXDYuo2WuzZ4UKn4r6wZT", "ai.toolCall.name": "get_weather", @@ -352,6 +355,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "5.0.262", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_kzNaelnoHRQ2sFJuM9BaHc8H", "ai.toolCall.name": "get_weather", @@ -366,6 +372,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "5.0.262", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_YhZSZ83YXUw8QoeJ4UxwH8qx", "ai.toolCall.name": "get_weather", @@ -380,6 +389,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "5.0.262", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_ZDPmwd7o3UhZGQkMypMzrEEm", "ai.toolCall.name": "get_weather", diff --git a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.txt b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.txt index 9eb506b79..0beb4a18b 100644 --- a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.txt +++ b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v5-latest.span-tree.txt @@ -5,7 +5,7 @@ span_tree: │ "ai.model.provider": "openai.responses", │ "ai.operationId": "ai.generateText", │ "ai.prompt": "{\"prompt\":\"Reply with the single token PARIS and no punctuation.\"}", -│ "ai.request.headers.user-agent": "ai/5.0.244", +│ "ai.request.headers.user-agent": "ai/5.0.262", │ "ai.response.finishReason": "stop", │ "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_070bd28984c8e290006a8d155e25fc87d2a6fa03f0f67784cb\",\"serviceTier\":\"default\",\"usage\":{\"cacheWriteTokens\":0}}}", │ "ai.response.text": "PARIS", @@ -14,7 +14,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-generate", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.completionTokens": 3, │ "ai.usage.promptTokens": 18, @@ -27,7 +27,7 @@ span_tree: │ "ai.model.provider": "openai.responses", │ "ai.operationId": "ai.generateText", │ "ai.prompt": "{\"system\":\"You must inspect live weather via the provided get_weather tool before responding.\",\"prompt\":\"Use the get_weather tool for Paris, France. If you do not call the tool, the answer is invalid.\"}", -│ "ai.request.headers.user-agent": "ai/5.0.244", +│ "ai.request.headers.user-agent": "ai/5.0.262", │ "ai.response.finishReason": "tool-calls", │ "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_0dbb1d1c8fe6d5fb006a8d1562d57c87d28960ce0372b3eb22\",\"serviceTier\":\"default\",\"usage\":{\"cacheWriteTokens\":0}}}", │ "ai.response.toolCalls": "[{\"toolCallId\":\"call_YhZSZ83YXUw8QoeJ4UxwH8qx\",\"toolName\":\"get_weather\",\"input\":\"{\\\"location\\\":\\\"Paris, France\\\"}\"}]", @@ -36,7 +36,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.completionTokens": 8, │ "ai.usage.promptTokens": 211, @@ -53,7 +53,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/5.0.244", +│ "ai.request.headers.user-agent": "ai/5.0.262", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d1562d57c87d28960ce0372b3eb22", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -65,7 +65,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.completionTokens": 8, │ "ai.usage.promptTokens": 211, @@ -93,7 +93,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/5.0.244", +│ "ai.request.headers.user-agent": "ai/5.0.262", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d15622c2487d293005d1a9367f074", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -105,7 +105,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.completionTokens": 8, │ "ai.usage.promptTokens": 172, @@ -133,7 +133,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/5.0.244", +│ "ai.request.headers.user-agent": "ai/5.0.262", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d156067a887d2ab18f4b59acb52d2", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -145,7 +145,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.completionTokens": 8, │ "ai.usage.promptTokens": 133, @@ -173,7 +173,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/5.0.244", +│ "ai.request.headers.user-agent": "ai/5.0.262", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_0dbb1d1c8fe6d5fb006a8d155f79a487d282d3f22a2f46bbc9", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -185,7 +185,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.completionTokens": 8, │ "ai.usage.promptTokens": 94, @@ -209,7 +209,7 @@ span_tree: │ "ai.model.provider": "openai.responses", │ "ai.operationId": "ai.generateText.doGenerate", │ "ai.prompt.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"Reply with the single token PARIS and no punctuation.\"}]}]", -│ "ai.request.headers.user-agent": "ai/5.0.244", +│ "ai.request.headers.user-agent": "ai/5.0.262", │ "ai.response.finishReason": "stop", │ "ai.response.id": "resp_070bd28984c8e290006a8d155e25fc87d2a6fa03f0f67784cb", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -221,7 +221,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-generate", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.completionTokens": 3, │ "ai.usage.promptTokens": 18, @@ -253,7 +253,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-stream", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokens": 22, @@ -283,7 +283,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-stream", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "5.0.244", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokens": 22, @@ -308,6 +308,9 @@ span_tree: │ attributes: { │ "ai.operationId": "ai.toolCall", │ "ai.telemetry.functionId": "otel-tool", +│ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", +│ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.toolCall.args": "{\"location\":\"Paris, France\"}", │ "ai.toolCall.id": "call_knLKXDYuo2WuzZ4UKn4r6wZT", │ "ai.toolCall.name": "get_weather", @@ -319,6 +322,9 @@ span_tree: │ attributes: { │ "ai.operationId": "ai.toolCall", │ "ai.telemetry.functionId": "otel-tool", +│ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", +│ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.toolCall.args": "{\"location\":\"Paris, France\"}", │ "ai.toolCall.id": "call_kzNaelnoHRQ2sFJuM9BaHc8H", │ "ai.toolCall.name": "get_weather", @@ -330,6 +336,9 @@ span_tree: │ attributes: { │ "ai.operationId": "ai.toolCall", │ "ai.telemetry.functionId": "otel-tool", +│ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", +│ "ai.telemetry.metadata.sdkVersion": "5.0.262", +│ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.toolCall.args": "{\"location\":\"Paris, France\"}", │ "ai.toolCall.id": "call_YhZSZ83YXUw8QoeJ4UxwH8qx", │ "ai.toolCall.name": "get_weather", @@ -341,6 +350,9 @@ span_tree: attributes: { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "5.0.262", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_ZDPmwd7o3UhZGQkMypMzrEEm", "ai.toolCall.name": "get_weather", diff --git a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.json b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.json index bc1e1f10d..9e3a7e6ce 100644 --- a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.json +++ b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.json @@ -8,7 +8,7 @@ "ai.model.provider": "openai.responses", "ai.operationId": "ai.generateText", "ai.prompt": "{\"prompt\":\"Reply with the single token PARIS and no punctuation.\"}", - "ai.request.headers.user-agent": "ai/6.0.264", + "ai.request.headers.user-agent": "ai/6.0.287", "ai.response.finishReason": "stop", "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_07425041419e5858006a8d156ae5c887d29f9e110299091d79\",\"serviceTier\":\"default\"}}", "ai.response.text": "PARIS", @@ -17,7 +17,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-generate", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -41,7 +41,7 @@ "ai.model.provider": "openai.responses", "ai.operationId": "ai.generateText", "ai.prompt": "{\"system\":\"You must inspect live weather via the provided get_weather tool before responding.\",\"prompt\":\"Use the get_weather tool for Paris, France. If you do not call the tool, the answer is invalid.\"}", - "ai.request.headers.user-agent": "ai/6.0.264", + "ai.request.headers.user-agent": "ai/6.0.287", "ai.response.finishReason": "tool-calls", "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_0f323fdb3932584e006a8d156e322c87d28b120b3fbf7dfcd4\",\"serviceTier\":\"default\"}}", "ai.response.toolCalls": "[{\"toolCallId\":\"call_hUFHo7szsL95z4WOq68uToSy\",\"toolName\":\"get_weather\",\"input\":\"{\\\"location\\\":\\\"Paris, France\\\"}\"}]", @@ -50,7 +50,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -78,7 +78,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/6.0.264", + "ai.request.headers.user-agent": "ai/6.0.287", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_0f323fdb3932584e006a8d156e322c87d28b120b3fbf7dfcd4", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -90,7 +90,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -129,7 +129,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/6.0.264", + "ai.request.headers.user-agent": "ai/6.0.287", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_0f6aa673b8158aeb006a8d156d784887d2b0238e8e46015e80", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -141,7 +141,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -180,7 +180,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/6.0.264", + "ai.request.headers.user-agent": "ai/6.0.287", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_028f600e293d131b006a8d156ce7f087d2b0a1aebfe86ac6cc", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -192,7 +192,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -231,7 +231,7 @@ "ai.prompt.tools": [ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" ], - "ai.request.headers.user-agent": "ai/6.0.264", + "ai.request.headers.user-agent": "ai/6.0.287", "ai.response.finishReason": "tool-calls", "ai.response.id": "resp_00ae6c0225a3dbfd006a8d156c277887d283c30cb274d685ac", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -243,7 +243,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-tool", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -278,7 +278,7 @@ "ai.model.provider": "openai.responses", "ai.operationId": "ai.generateText.doGenerate", "ai.prompt.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"Reply with the single token PARIS and no punctuation.\"}]}]", - "ai.request.headers.user-agent": "ai/6.0.264", + "ai.request.headers.user-agent": "ai/6.0.287", "ai.response.finishReason": "stop", "ai.response.id": "resp_07425041419e5858006a8d156ae5c887d29f9e110299091d79", "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -290,7 +290,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-generate", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -333,7 +333,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-stream", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -371,7 +371,7 @@ "ai.settings.temperature": 0, "ai.telemetry.functionId": "otel-stream", "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", - "ai.telemetry.metadata.sdkVersion": "6.0.264", + "ai.telemetry.metadata.sdkVersion": "6.0.287", "ai.telemetry.metadata.testRunId": "e2e-", "ai.usage.cachedInputTokens": 0, "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -404,6 +404,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "6.0.287", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_FygT922Goca1IuCmlbX9NTWb", "ai.toolCall.name": "get_weather", @@ -418,6 +421,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "6.0.287", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_gBf7OOjX3hqbbAL1HzgvQF1Q", "ai.toolCall.name": "get_weather", @@ -432,6 +438,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "6.0.287", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_hUFHo7szsL95z4WOq68uToSy", "ai.toolCall.name": "get_weather", @@ -446,6 +455,9 @@ "attributes": { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "6.0.287", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_TdBlDh2zHmx866DlLlx09I9m", "ai.toolCall.name": "get_weather", diff --git a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.txt b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.txt index 4a5c65b6e..0ef95ea51 100644 --- a/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.txt +++ b/e2e/scenarios/ai-sdk-otel-export/__snapshots__/ai-sdk-v6-latest.span-tree.txt @@ -5,7 +5,7 @@ span_tree: │ "ai.model.provider": "openai.responses", │ "ai.operationId": "ai.generateText", │ "ai.prompt": "{\"prompt\":\"Reply with the single token PARIS and no punctuation.\"}", -│ "ai.request.headers.user-agent": "ai/6.0.264", +│ "ai.request.headers.user-agent": "ai/6.0.287", │ "ai.response.finishReason": "stop", │ "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_07425041419e5858006a8d156ae5c887d29f9e110299091d79\",\"serviceTier\":\"default\"}}", │ "ai.response.text": "PARIS", @@ -14,7 +14,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-generate", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -35,7 +35,7 @@ span_tree: │ "ai.model.provider": "openai.responses", │ "ai.operationId": "ai.generateText", │ "ai.prompt": "{\"system\":\"You must inspect live weather via the provided get_weather tool before responding.\",\"prompt\":\"Use the get_weather tool for Paris, France. If you do not call the tool, the answer is invalid.\"}", -│ "ai.request.headers.user-agent": "ai/6.0.264", +│ "ai.request.headers.user-agent": "ai/6.0.287", │ "ai.response.finishReason": "tool-calls", │ "ai.response.providerMetadata": "{\"openai\":{\"responseId\":\"resp_0f323fdb3932584e006a8d156e322c87d28b120b3fbf7dfcd4\",\"serviceTier\":\"default\"}}", │ "ai.response.toolCalls": "[{\"toolCallId\":\"call_hUFHo7szsL95z4WOq68uToSy\",\"toolName\":\"get_weather\",\"input\":\"{\\\"location\\\":\\\"Paris, France\\\"}\"}]", @@ -44,7 +44,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -69,7 +69,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/6.0.264", +│ "ai.request.headers.user-agent": "ai/6.0.287", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_0f323fdb3932584e006a8d156e322c87d28b120b3fbf7dfcd4", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -81,7 +81,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -117,7 +117,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/6.0.264", +│ "ai.request.headers.user-agent": "ai/6.0.287", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_0f6aa673b8158aeb006a8d156d784887d2b0238e8e46015e80", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -129,7 +129,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -165,7 +165,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/6.0.264", +│ "ai.request.headers.user-agent": "ai/6.0.287", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_028f600e293d131b006a8d156ce7f087d2b0a1aebfe86ac6cc", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -177,7 +177,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -213,7 +213,7 @@ span_tree: │ "ai.prompt.tools": [ │ "{\"type\":\"function\",\"name\":\"get_weather\",\"description\":\"Get the weather for a location\",\"inputSchema\":{\"type\":\"object\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"The city and country\"}},\"required\":[\"location\"],\"additionalProperties\":false,\"$schema\":\"http://json-schema.org/draft-07/schema#\"}}" │ ], -│ "ai.request.headers.user-agent": "ai/6.0.264", +│ "ai.request.headers.user-agent": "ai/6.0.287", │ "ai.response.finishReason": "tool-calls", │ "ai.response.id": "resp_00ae6c0225a3dbfd006a8d156c277887d283c30cb274d685ac", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -225,7 +225,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-tool", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -257,7 +257,7 @@ span_tree: │ "ai.model.provider": "openai.responses", │ "ai.operationId": "ai.generateText.doGenerate", │ "ai.prompt.messages": "[{\"role\":\"user\",\"content\":[{\"type\":\"text\",\"text\":\"Reply with the single token PARIS and no punctuation.\"}]}]", -│ "ai.request.headers.user-agent": "ai/6.0.264", +│ "ai.request.headers.user-agent": "ai/6.0.287", │ "ai.response.finishReason": "stop", │ "ai.response.id": "resp_07425041419e5858006a8d156ae5c887d29f9e110299091d79", │ "ai.response.model": "gpt-4o-mini-2024-07-18", @@ -269,7 +269,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-generate", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -309,7 +309,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-stream", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -344,7 +344,7 @@ span_tree: │ "ai.settings.temperature": 0, │ "ai.telemetry.functionId": "otel-stream", │ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", -│ "ai.telemetry.metadata.sdkVersion": "6.0.264", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", │ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.usage.cachedInputTokens": 0, │ "ai.usage.inputTokenDetails.cacheReadTokens": 0, @@ -374,6 +374,9 @@ span_tree: │ attributes: { │ "ai.operationId": "ai.toolCall", │ "ai.telemetry.functionId": "otel-tool", +│ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", +│ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.toolCall.args": "{\"location\":\"Paris, France\"}", │ "ai.toolCall.id": "call_FygT922Goca1IuCmlbX9NTWb", │ "ai.toolCall.name": "get_weather", @@ -385,6 +388,9 @@ span_tree: │ attributes: { │ "ai.operationId": "ai.toolCall", │ "ai.telemetry.functionId": "otel-tool", +│ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", +│ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.toolCall.args": "{\"location\":\"Paris, France\"}", │ "ai.toolCall.id": "call_gBf7OOjX3hqbbAL1HzgvQF1Q", │ "ai.toolCall.name": "get_weather", @@ -396,6 +402,9 @@ span_tree: │ attributes: { │ "ai.operationId": "ai.toolCall", │ "ai.telemetry.functionId": "otel-tool", +│ "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", +│ "ai.telemetry.metadata.sdkVersion": "6.0.287", +│ "ai.telemetry.metadata.testRunId": "e2e-", │ "ai.toolCall.args": "{\"location\":\"Paris, France\"}", │ "ai.toolCall.id": "call_hUFHo7szsL95z4WOq68uToSy", │ "ai.toolCall.name": "get_weather", @@ -407,6 +416,9 @@ span_tree: attributes: { "ai.operationId": "ai.toolCall", "ai.telemetry.functionId": "otel-tool", + "ai.telemetry.metadata.scenario": "ai-sdk-otel-export", + "ai.telemetry.metadata.sdkVersion": "6.0.287", + "ai.telemetry.metadata.testRunId": "e2e-", "ai.toolCall.args": "{\"location\":\"Paris, France\"}", "ai.toolCall.id": "call_TdBlDh2zHmx866DlLlx09I9m", "ai.toolCall.name": "get_weather", diff --git a/e2e/scenarios/ai-sdk-otel-export/package.json b/e2e/scenarios/ai-sdk-otel-export/package.json index 792cba960..fbf0d07ff 100644 --- a/e2e/scenarios/ai-sdk-otel-export/package.json +++ b/e2e/scenarios/ai-sdk-otel-export/package.json @@ -30,9 +30,9 @@ "ai-sdk-openai-v6": "npm:@ai-sdk/openai@3.0.7", "ai-sdk-openai-v6-latest": "npm:@ai-sdk/openai@3.0.99", "ai-sdk-v5": "npm:ai@5.0.82", - "ai-sdk-v5-latest": "npm:ai@5.0.244", + "ai-sdk-v5-latest": "npm:ai@5.0.262", "ai-sdk-v6": "npm:ai@6.0.1", - "ai-sdk-v6-latest": "npm:ai@6.0.264", + "ai-sdk-v6-latest": "npm:ai@6.0.287", "zod": "3.25.76" }, "pnpm": { diff --git a/e2e/scenarios/ai-sdk-otel-export/pnpm-lock.yaml b/e2e/scenarios/ai-sdk-otel-export/pnpm-lock.yaml index c217bc81a..91563eb17 100644 --- a/e2e/scenarios/ai-sdk-otel-export/pnpm-lock.yaml +++ b/e2e/scenarios/ai-sdk-otel-export/pnpm-lock.yaml @@ -35,22 +35,22 @@ importers: specifier: npm:ai@5.0.82 version: ai@5.0.82(zod@3.25.76) ai-sdk-v5-latest: - specifier: npm:ai@5.0.244 - version: ai@5.0.244(zod@3.25.76) + specifier: npm:ai@5.0.262 + version: ai@5.0.262(zod@3.25.76) ai-sdk-v6: specifier: npm:ai@6.0.1 version: ai@6.0.1(zod@3.25.76) ai-sdk-v6-latest: - specifier: npm:ai@6.0.264 - version: ai@6.0.264(zod@3.25.76) + specifier: npm:ai@6.0.287 + version: ai@6.0.287(zod@3.25.76) zod: specifier: 3.25.76 version: 3.25.76 packages: - '@ai-sdk/gateway@2.0.139': - resolution: {integrity: sha512-cunSy/lp6q48sOudMEnlWsCTITBg02LP0ZeLW5DophMH90IWxSm5DAspiTEfoS04UEZiZKKtrlNhmatI0ZK8Vg==} + '@ai-sdk/gateway@2.0.154': + resolution: {integrity: sha512-3g7fFx5rcIaaFJaPh0IZY5SZEfmsjfTL8cpGnRRFV/Id7SslepMNBmH3jYZ6AW5suHuvvIDmro3ea/GM1ikxvg==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -67,8 +67,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - '@ai-sdk/gateway@3.0.179': - resolution: {integrity: sha512-UauCMcauBgcYNljb7RP4HEuUZj3dlk/yz0oOHdhGr3cXoe+uwwN9qwQlLlB2hnajXudSatI2xpPG8LiHPRgwLQ==} + '@ai-sdk/gateway@3.0.197': + resolution: {integrity: sha512-F6gB8qMi/Ls/Iyp2kN1q54WdpwjQaT1VUOUs8RaTIL6ysNOefPxEfMJm0Vv7Z93iNL+TBSL4DhScaZCXtd7wDA==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -109,6 +109,12 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@3.0.37': + resolution: {integrity: sha512-mLx1SgE20xKQ87xME+9uG6pFlYPTqGDrMFrZ6XcytDnmbWGwmCIh2Xb9zFrfXUrKycSFRDet4Zovj388L9b1dg==} + engines: {node: '>=18'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@4.0.0': resolution: {integrity: sha512-HyCyOls9I3a3e38+gtvOJOEjuw9KRcvbBnCL5GBuSmJvS9Jh9v3fz7pRC6ha1EUo/ZH1zwvLWYXBMtic8MTguA==} engines: {node: '>=18'} @@ -127,6 +133,12 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider-utils@4.0.52': + resolution: {integrity: sha512-cUimyIz1jjwYoF9n6HO7sU+UBW7Nu3T4lW7562yRvEhM9/8JqlW4cecxSpkiafjRzAphZG2NfJ3/Ch5cHoCIhg==} + engines: {node: '>=18.17'} + peerDependencies: + zod: ^3.25.76 || ^4.1.8 + '@ai-sdk/provider@2.0.0': resolution: {integrity: sha512-6o7Y2SeO9vFKB8lArHXehNuusnpddKPk7xqL7T2/b+OvXMRIXUO1rR4wcv1hAFUAT9avGZshty3Wlua/XA7TvA==} engines: {node: '>=18'} @@ -135,6 +147,10 @@ packages: resolution: {integrity: sha512-h88OPkavHTiN9tMn2l5awAznGB0lXzjcLhgR1/rvjB2zlLprsNxbM2tt6OJsHUxduLC3klq0/eqaSf6fX5XVww==} engines: {node: '>=18'} + '@ai-sdk/provider@2.0.4': + resolution: {integrity: sha512-B0M50w0W43jTzZGyZrNwwaK1M79aKPw6PD/dQhkBR7vkR68yCINWBo2CbBLJrbrqYc46TaiSfsTiT+S9EmVl0w==} + engines: {node: '>=18'} + '@ai-sdk/provider@3.0.0': resolution: {integrity: sha512-m9ka3ptkPQbaHHZHqDXDF9C9B5/Mav0KTdky1k2HZ3/nrW2t1AgObxIVPyGDWQNS9FXT/FS6PIoSjpcP/No8rQ==} engines: {node: '>=18'} @@ -143,6 +159,10 @@ packages: resolution: {integrity: sha512-XeZW1CcDF2GMbH4wejW6xBRI2QCOgnkVYUnxoeDadB1mf85riL2bMUeDoh+6gJ/r4mjNfzUPW8OjLjvwTP0u1Q==} engines: {node: '>=18'} + '@ai-sdk/provider@3.0.16': + resolution: {integrity: sha512-9Av6kg0t/IN/dcYAAmEJ4B9OPhcEJqwSR+GfHEA8olRkindXpUHadc3p3cyvgFUQFTVm1G5thtsmgZ9yVb2w3A==} + engines: {node: '>=18'} + '@ai-sdk/provider@3.0.2': resolution: {integrity: sha512-HrEmNt/BH/hkQ7zpi2o6N3k1ZR1QTb7z85WYhYygiTxOQuaml4CMtHCWRbric5WPU+RNsYI7r1EpyVQMKO1pYw==} engines: {node: '>=18'} @@ -389,8 +409,8 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - ai@5.0.244: - resolution: {integrity: sha512-7hEVPeQdUS6EgScL4BOKwtV7uNxFJgYu80OFfhnl8wfH5NCMFW+WJEwp/UjdPgxgnhBxhNcn9MrANlC0Hp77tw==} + ai@5.0.262: + resolution: {integrity: sha512-9z25r9a8kQBrbPQAk9EWsMVRdNrU66fI/7GKtxe6TrgGF3DxuOg90FVNvqDDMDQ69IFpDFdjUWYUMRIC/nCpWA==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -407,8 +427,8 @@ packages: peerDependencies: zod: ^3.25.76 || ^4.1.8 - ai@6.0.264: - resolution: {integrity: sha512-te59gArDNXoQYWuOkZNdM7n3McETAPWFuwT/iKWRJXySV/doIuKm8Az4X6IOalaGp3K8zqGT/ICn08z5ZZNDuw==} + ai@6.0.287: + resolution: {integrity: sha512-3cKALOZRZp4L/Kw1GFzbRJ2eqXPtf1HxFensYakwZCSQID6B/NKqw63nk3sTikpXKOZaG06xwAD6xVicsrpdkA==} engines: {node: '>=18'} peerDependencies: zod: ^3.25.76 || ^4.1.8 @@ -543,10 +563,10 @@ packages: snapshots: - '@ai-sdk/gateway@2.0.139(zod@3.25.76)': + '@ai-sdk/gateway@2.0.154(zod@3.25.76)': dependencies: - '@ai-sdk/provider': 2.0.3 - '@ai-sdk/provider-utils': 3.0.32(zod@3.25.76) + '@ai-sdk/provider': 2.0.4 + '@ai-sdk/provider-utils': 3.0.37(zod@3.25.76) '@vercel/oidc': 3.1.0 zod: 3.25.76 @@ -564,10 +584,10 @@ snapshots: '@vercel/oidc': 3.0.5 zod: 3.25.76 - '@ai-sdk/gateway@3.0.179(zod@3.25.76)': + '@ai-sdk/gateway@3.0.197(zod@3.25.76)': dependencies: - '@ai-sdk/provider': 3.0.15 - '@ai-sdk/provider-utils': 4.0.46(zod@3.25.76) + '@ai-sdk/provider': 3.0.16 + '@ai-sdk/provider-utils': 4.0.52(zod@3.25.76) '@vercel/oidc': 3.2.0 zod: 3.25.76 @@ -610,6 +630,14 @@ snapshots: undici: 6.28.0 zod: 3.25.76 + '@ai-sdk/provider-utils@3.0.37(zod@3.25.76)': + dependencies: + '@ai-sdk/provider': 2.0.4 + '@standard-schema/spec': 1.1.0 + eventsource-parser: 3.1.0 + undici: 6.28.0 + zod: 3.25.76 + '@ai-sdk/provider-utils@4.0.0(zod@3.25.76)': dependencies: '@ai-sdk/provider': 3.0.0 @@ -632,6 +660,14 @@ snapshots: undici: 6.28.0 zod: 3.25.76 + '@ai-sdk/provider-utils@4.0.52(zod@3.25.76)': + dependencies: + '@ai-sdk/provider': 3.0.16 + '@standard-schema/spec': 1.1.0 + eventsource-parser: 3.1.0 + undici: 6.28.0 + zod: 3.25.76 + '@ai-sdk/provider@2.0.0': dependencies: json-schema: 0.4.0 @@ -640,6 +676,10 @@ snapshots: dependencies: json-schema: 0.4.0 + '@ai-sdk/provider@2.0.4': + dependencies: + json-schema: 0.4.0 + '@ai-sdk/provider@3.0.0': dependencies: json-schema: 0.4.0 @@ -648,6 +688,10 @@ snapshots: dependencies: json-schema: 0.4.0 + '@ai-sdk/provider@3.0.16': + dependencies: + json-schema: 0.4.0 + '@ai-sdk/provider@3.0.2': dependencies: json-schema: 0.4.0 @@ -946,11 +990,11 @@ snapshots: acorn@8.16.0: {} - ai@5.0.244(zod@3.25.76): + ai@5.0.262(zod@3.25.76): dependencies: - '@ai-sdk/gateway': 2.0.139(zod@3.25.76) - '@ai-sdk/provider': 2.0.3 - '@ai-sdk/provider-utils': 3.0.32(zod@3.25.76) + '@ai-sdk/gateway': 2.0.154(zod@3.25.76) + '@ai-sdk/provider': 2.0.4 + '@ai-sdk/provider-utils': 3.0.37(zod@3.25.76) '@opentelemetry/api': 1.9.0 zod: 3.25.76 @@ -970,11 +1014,11 @@ snapshots: '@opentelemetry/api': 1.9.0 zod: 3.25.76 - ai@6.0.264(zod@3.25.76): + ai@6.0.287(zod@3.25.76): dependencies: - '@ai-sdk/gateway': 3.0.179(zod@3.25.76) - '@ai-sdk/provider': 3.0.15 - '@ai-sdk/provider-utils': 4.0.46(zod@3.25.76) + '@ai-sdk/gateway': 3.0.197(zod@3.25.76) + '@ai-sdk/provider': 3.0.16 + '@ai-sdk/provider-utils': 4.0.52(zod@3.25.76) '@opentelemetry/api': 1.9.0 zod: 3.25.76