Skip to content

Commit 1a54609

Browse files
feat: Update documentation for force option in Vercel AI integration (#14061)
Documents getsentry/sentry-javascript#16551 released with getsentry/sentry-javascript#16551 Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 8cf0db1 commit 1a54609

File tree

1 file changed

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

1 file changed

+16
-0
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@ const result = await generateText({
6161

6262
## Options
6363

64+
### `force`
65+
66+
Requires SDK version `9.29.0` or higher.
67+
68+
_Type: `boolean`_
69+
70+
Forces the integration to be active, even when the `ai` module is not detected or available. This is useful when you want to ensure the integration is always enabled regardless of module detection.
71+
72+
Defaults to `false`.
73+
74+
```javascript
75+
Sentry.init({
76+
integrations: [Sentry.vercelAIIntegration({ force: true })],
77+
});
78+
```
79+
6480
### `recordInputs`
6581

6682
Requires SDK version `9.27.0` or higher.

0 commit comments

Comments
 (0)