From 1376a511d9ecd592aeca7428e0f5f55a9c50359e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 17 Jun 2025 18:04:47 +0000 Subject: [PATCH] Add `force` option to Vercel AI integration documentation --- .../configuration/integrations/vercelai.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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.