FIX: add latest gemini models to ModelProviderMapping (Issue 188) - #390
Open
ShubhanC wants to merge 2 commits into
Open
FIX: add latest gemini models to ModelProviderMapping (Issue 188)#390ShubhanC wants to merge 2 commits into
ShubhanC wants to merge 2 commits into
Conversation
Author
|
fixes #188 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fixes #188. Gemini model support isn't updated to the latest models. Some are completely unsupported by Google and new ones have been added that can be used.
Fix
Made changes to
provider.jsonthat removed discontinued models and added new ones.Removed the following models:
gemini-2.5-pro)gemini-2.0-flash)gemini-2.0-flash-lite)Added the following models:
gemini-3.6-flash)gemini-3.5-flash)gemini-3.5-flash-lite)gemma-4-26b-a4b-it)gemma-4-31b-it)Parameters for all new models are:
{ "temperature": 0.1, "top_p": 0.9 }For Gemma 4 26B, the parameters also include
"repeat_penalty": 1.2to ensure the model finishes in sufficient time.Tests
I performed simple tests for all models (including existing models) on both the given sample resumé and my own personal resumé. Here are the results:
Hopefully this allows for future updating of Google gemini models.