feat: update AI model options to support new Gemini versions#148
feat: update AI model options to support new Gemini versions#148ShouryaPal merged 2 commits intoakshat-OwO:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 67c0493 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThe changes update the supported Google Generative AI model versions throughout the codebase. All instances of the older "gemini-1.5-pro" and "gemini-1.5-flash" model identifiers are replaced with the newer "gemini-2.5-pro-exp-03-25" and "gemini-2.5-flash-preview-04-17" identifiers. This includes updates to model selection options in the UI, the default model in the application state, the schema enum definitions, and the backend logic that selects the AI provider. No other logic, control flow, or error handling has been altered. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Hey @sakshamg567 ,
|
This pull request updates the AI model options across the codebase to replace the older
gemini-1.5models with the newgemini-2.5models.Changes
Updated the model versions from
gemini-1.5togemini-2.5Benefits
New models have improved accuracy, so will provide better responses
Screenshots of changes
Before
After
Summary by CodeRabbit