Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down