You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main.py uses gemini-2.0-flash as the cloud model, but this model has been deprecated by Google and is no longer available to new users.
Error
google.genai.errors.ClientError: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'This model models/gemini-2.0-flash is no longer available to new users. Please update your code to use a newer model for the latest features and improvements.', 'status': 'NOT_FOUND'}}
Description
The
main.pyusesgemini-2.0-flashas the cloud model, but this model has been deprecated by Google and is no longer available to new users.Error
Location
main.pyline 75:Suggested Fix
Update to
gemini-2.5-flashwhich is the current stable model:Available Alternatives
gemini-2.5-flashgemini-2.5-flash-litegemini-2.5-progemini-1.5-flash