Skip to content

Commit d233a39

Browse files
committed
no edge support for v7
1 parent ce87f77 commit d233a39

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • packages/vercel-edge/src/integrations/tracing

packages/vercel-edge/src/integrations/tracing/vercelai.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
import type { IntegrationFn } from '@sentry/core';
1212
import { addVercelAiProcessors, defineIntegration } from '@sentry/core';
13-
import { vercelAiIntegration as serverUtilsVercelAiIntegration } from '@sentry/server-utils';
1413

1514
const INTEGRATION_NAME = 'VercelAI';
1615

@@ -23,10 +22,7 @@ interface VercelAiOptions {
2322
}
2423

2524
const _vercelAIIntegration = ((options: VercelAiOptions = {}) => {
26-
const inner = serverUtilsVercelAiIntegration(options);
27-
2825
return {
29-
...inner,
3026
name: INTEGRATION_NAME,
3127
options,
3228
setup(client) {
@@ -60,5 +56,7 @@ const _vercelAIIntegration = ((options: VercelAiOptions = {}) => {
6056
* model: openai('gpt-4-turbo'),
6157
* experimental_telemetry: { isEnabled: true, recordInputs: true, recordOutputs: true },
6258
* });
59+
*
60+
* Note: This does not support ai v7, as this is tracing channel based which is not supported in edge.
6361
*/
6462
export const vercelAIIntegration = defineIntegration(_vercelAIIntegration);

0 commit comments

Comments
 (0)