diff --git a/docs/platforms/javascript/common/configuration/integrations/vercelai.mdx b/docs/platforms/javascript/common/configuration/integrations/vercelai.mdx index 39dd1fb478df0..604fd931cba72 100644 --- a/docs/platforms/javascript/common/configuration/integrations/vercelai.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/vercelai.mdx @@ -55,6 +55,22 @@ const result = await generateText({ ## Options +### `force` + +Requires SDK version `9.29.0` or higher. + +_Type: `boolean`_ + +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. + +Defaults to `false`. + +```javascript +Sentry.init({ + integrations: [Sentry.vercelAIIntegration({ force: true })], +}); +``` + ### `recordInputs` Requires SDK version `9.27.0` or higher.