Skip to content

Conversation

cursor[bot]
Copy link

@cursor cursor bot commented Sep 8, 2025

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

This PR fixes a bug where the vercelAIIntegration in the Cloudflare and Vercel Edge SDKs did not support configuration options (e.g., recordInputs, recordOutputs), unlike the Node.js SDK and as indicated by the documentation.

The vercelAIIntegration for both Cloudflare and Vercel Edge now accepts VercelAiOptions, allowing users to configure default input and output recording preferences, aligning its functionality with other JavaScript SDKs.


Slack Thread

Open in Cursor Open in Web

…egration

- Add VercelAiOptions interface with recordInputs and recordOutputs options
- Update vercelAIIntegration to accept optional configuration parameters
- Export VercelAiOptions and VercelAiIntegration types
- Align API with Node.js SDK to support documented configuration
- Fix issue where Cloudflare and Vercel Edge SDKs couldn't use integration options

Fixes compatibility with Sentry documentation that shows vercelAIIntegration
accepting configuration options like recordInputs and recordOutputs.
Copy link
Author

cursor bot commented Sep 8, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@Lms24
Copy link
Member

Lms24 commented Sep 12, 2025

Closing for now, please feel free to reopen or create a new PR whenever ready. Also next time pleaes indicate who to tag for follow ups, thanks ;)

@Lms24 Lms24 closed this Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants