Skip to content

Conversation

@aliu39
Copy link
Member

@aliu39 aliu39 commented May 5, 2025

For gemini models, it's recommended to use the genai SDK instead of posting to a URL like we were for text-bison. We need this before we can request the new model, 2.0 flash lite.

Spam detection has been disabled in all regions except S4S, so we don't need to worry about errors if this is deployed before options, or vice versa

Ref #90986

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 5, 2025
@aliu39
Copy link
Member Author

aliu39 commented May 6, 2025

Closing since there's a blocker on adding the genai dependency - see #91028 (comment)

There's a simpler way to directly post to the gemini API using :generateContent instead of :predict - I misinterpreted the error msg pointing me toward the SDK

@aliu39 aliu39 closed this May 6, 2025
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2025
@aliu39 aliu39 deleted the aliu/spam-model-update branch July 11, 2025 01:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants