Conversation
…hat is compatible for generateContent command. Also updated respective test cases.
WalkthroughUpdate the GoogleAI plugin to support current Gemini model versions. Replace the deprecated "gemini-pro" model with five new models (gemini-2.5-pro, gemini-2.5-flash, gemini-2.0-flash, gemini-flash-latest, gemini-flash-lite-latest) in the supported models constant and corresponding test cases. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Failed server tests
|
| "gemini-2.5-flash", | ||
| "gemini-2.0-flash", | ||
| "gemini-flash-latest", | ||
| "gemini-flash-lite-latest"); |
There was a problem hiding this comment.
Could you please verify if these two are valid models?
- gemini-flash-latest
- gemini-flash-lite-latest
Asking this because I didn't find any valid reference for these two models.
There was a problem hiding this comment.
@subrata71 , yes I had tested for these two models with the API. And also had verified it with this api that Lists all the models along with the commands each supports
https://generativelanguage.googleapis.com/v1beta/models?key=<GOOGLE_API_KEY>
There was a problem hiding this comment.
Will add this info to the PR description as well for future reference if we want to update these models by checking the latest list
|
/build-deploy-preview skip-tests=true |
|
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/19686400000. |
|
Deploy-Preview-URL: https://ce-41415.dp.appsmith.com |
Description
Replace gemini-pro that has been deprecated with 5 models as below
All these models support the generate content command as verified from this List Models API here: https://generativelanguage.googleapis.com/v1beta/models?key=<GOOGLE_API_KEY>
Fixes #41105
Automation
/ok-to-test tags="@tag.All"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/19674900186
Commit: 13074e8
Cypress dashboard.
Tags:
@tag.AllSpec:
Tue, 25 Nov 2025 16:44:56 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.