Skip to content

Sentry.googleGenAIIntegration auto instrumentation does not support @google/genai v2 #23066

Description

@KOConchobhair

Problem Statement

Sentry.googleGenAIIntegration auto instrumentation does not work for @google/genai v2 but manual instrumentation seems to work fine using instrumentGoogleGenAIClient with @google/genai v2.15.0

Solution Brainstorm

Perhaps remove the < 2 from @google/genai: >=0.10.0 <2?
Or add full support for any v2.x breaking API changes

Additional Context

No response

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Projects

Status
Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions