Checklist
Describe the issue
When trying to enter an API key for Google Gemini, I receive this error message:
It works if I change the default model from "gemini-2.0-flash" to "gemini-2.5-flash"
Reproduction steps
- Add Integration
- Add LMM Vision
- Add Google as provider
- Submit
- Enter API key
- Change Default model from "gemini-2.0-flash"
Debug logs
This error originated from a custom integration.
Logger: custom_components.llmvision.config_flow
Source: custom_components/llmvision/config_flow.py:902
integration: LLM Vision (documentation, issues)
First occurred: April 21, 2026 at 19:20:24 (12 occurrences)
Last logged: 08:50:48
Validation failed: 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.
Checklist
Describe the issue
When trying to enter an API key for Google Gemini, I receive this error message:
It works if I change the default model from "gemini-2.0-flash" to "gemini-2.5-flash"
Reproduction steps
Debug logs