Skip to content

Support Model 2.0 Flash #48

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

Open
pstatile opened this issue Mar 23, 2025 · 1 comment
Open

Support Model 2.0 Flash #48

pstatile opened this issue Mar 23, 2025 · 1 comment

Comments

@pstatile
Copy link

Hi! Any update on when will this package support the new model Flash 2.0? Or it takes the latest stable version? Thanks!

@matthiasn
Copy link

@pstatile works fine for me when I set this:

    Gemini.init(
       apiKey: config.geminiApiKey,
       disableAutoUpdateModelName: true,
     );

The parameter name disableAutoUpdateModelName confused me, but when I set that, I can use models/gemini-2.0-flash without a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants