Skip to content

Conversation

@aliu39
Copy link
Member

@aliu39 aliu39 commented May 5, 2025

We need this package to use a new gemini model (flash 2.0 lite) for user feedback spam detection. The old model text-bison has been removed so we need this to fix the feature.

The only new dependency is websockets. It's only used by the google.genai.live module which we won't be using. To resolve a dependency conflict with anyio, this also upgrades openai to latest.

Ref getsentry/sentry#90986

@aliu39 aliu39 requested a review from a team May 5, 2025 23:46
Comment on lines +2930 to +2931
[websockets==15.0.1]

Copy link
Contributor

Choose a reason for hiding this comment

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

can you link the issue you created about making websockets optional?

Copy link
Member Author

Choose a reason for hiding this comment

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

👍 Looking into it now

Copy link
Member Author

@aliu39 aliu39 May 5, 2025

Choose a reason for hiding this comment

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

Copy link
Contributor

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

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

@aliu39 aliu39 merged commit a97a2d7 into main May 6, 2025
14 checks passed
@aliu39 aliu39 deleted the aliu/add-google-genai branch May 6, 2025 00:08
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.

3 participants