Skip to content

Conversation

@priscilawebdev
Copy link
Member

  • Separate server-side and browser-side usage sections for clarity
  • Document openAIIntegration for Node.js platforms (auto-enabled by default)
  • Document instrumentOpenAiClient for browser and edge runtimes
  • Add special handling for Cloudflare Workers edge runtime
  • Simplify code examples by omitting import statements
  • Move configuration and supported versions to shared sections
  • Improve platform-specific visibility using PlatformSection components

closes https://linear.app/getsentry/issue/TET-1719/browser-javascript-ai-agent-onboarding

@linear
Copy link

linear bot commented Jan 16, 2026

@vercel
Copy link

vercel bot commented Jan 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jan 22, 2026 11:51am
1 Skipped Deployment
Project Deployment Review Updated (UTC)
develop-docs Ignored Ignored Preview Jan 22, 2026 11:51am

Request Review

@priscilawebdev
Copy link
Member Author

@RulaKhaled I noticed that we do not have a separate section about Runtime for NextJS + OpenAI. should we add something? https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/openai/

@RulaKhaled
Copy link
Member

@RulaKhaled I noticed that we do not have a separate section about Runtime for NextJS + OpenAI. should we add something? https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/integrations/openai/

We don't need to, all runtimes in Next.js should use the manual instrumentation.

priscilawebdev and others added 3 commits January 20, 2026 08:15
…enai.mdx

Co-authored-by: Andrei <168741329+andreiborza@users.noreply.github.com>
…enai.mdx

Co-authored-by: Andrei <168741329+andreiborza@users.noreply.github.com>
…enai.mdx

Co-authored-by: Andrei <168741329+andreiborza@users.noreply.github.com>
Copy link
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🫡

priscilawebdev and others added 2 commits January 21, 2026 08:29
…enai.mdx

Co-authored-by: Alex Krawiec <alex.krawiec@sentry.io>
…enai.mdx

Co-authored-by: Alex Krawiec <alex.krawiec@sentry.io>
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.

7 participants