-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Setting the model to gemini-2.0-flash does not actually set it.
I have proof of this (In the image below from GCP), you can see it is using gemini-1.5-flash):
final file = File(image); try { print("Starting Gemini API call..."); final response = await gemini.prompt( **model: 'models/gemini-2.0-flash',** parts: [ Part.text(""" Describe this image. """), Part.uint8List(file.readAsBytesSync()) ], ).timeout( const Duration(seconds: 60), onTimeout: () { print("Gemini API call timed out"); throw TimeoutException('Gemini API call timed out after 60 seconds'); }, );
I desperately need to use gemini-2.0-flash as it has a 200 RPD(Requests per day) limit instead of 50 like in 1.5-flash.
Please fix this ASAP or advise if I am setting the model incorrectly.
Kind regards,
Jamie