-
Notifications
You must be signed in to change notification settings - Fork 882
.NET: use valid Gemini model #2695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET: use valid Gemini model #2695
Conversation
|
Note: I'm the maintainer of "a community driven Mscc.GenerativeAI.Microsoft package" Cheers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR corrects the default Google Gemini model name from the non-existent gemini-2.5-fast to the valid gemini-2.5-flash model in the sample code.
- Updates the default model name to a valid Gemini 2.5 Flash model
|
Use named parameters explicitly to avoid ambiguous constructor methods because my package supports Google AI and Vertex AI interfaces. Also, Cheers |
* use proper Gemini model * use named parameters --------- Co-authored-by: Roger Barreto <[email protected]>
Motivation and Context
I saw the initial PR to add Gemini Agent providers to the repository and tested it given the PR source code. However, the referenced Gemini model
gemini-2.5-fastdoes not exist any more. I updated it togemini-2.5-flashinstead.Description
Change the name of the Gemini model to an existing Flash 2.5 model. The previous reference to
fastis not valid any more.Contribution Checklist