Skip to content

Commit 7901f1a

Browse files
authored
Fix Vercel AI instructions (#13784)
`Sentry.vercelAIIntegration` is not a constructor so drop the `new` keyword. <!-- Use this checklist to make sure your PR is ready for merge. You may delete any sections you don't need. --> ## IS YOUR CHANGE URGENT? None: Not urgent, can wait up to 1 week+
1 parent 8cf71aa commit 7901f1a

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/common/configuration/integrations

1 file changed

+1
-1
lines changed

docs/platforms/javascript/common/configuration/integrations/vercelai.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The `vercelAIIntegration` adds instrumentation for the [`ai`](https://www.npmjs.
3737

3838
```javascript
3939
Sentry.init({
40-
integrations: [new Sentry.vercelAIIntegration()],
40+
integrations: [Sentry.vercelAIIntegration()],
4141
});
4242
```
4343

0 commit comments

Comments
 (0)