continue
continue copied to clipboard
Gemini exception
Before submitting your bug report
- [ ] I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- [ ] I'm not able to find a related conversation on GitHub discussions that reports the same bug
- [ ] I'm not able to find an open issue that reports the same bug
- [ ] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows
- Continue version: 1.2.11
- IDE version: VSCode
- Model: Gemini 2.0 flash
- config:
Description
There was an exception thrown when I used the model dropdown for the Google Gemini API. It said this : "Cannot read properties of undefined (reading 'title')"
To reproduce
- Go to Add chat model.
- Change provider to Google Gemini API
- Click on the Model dropdown to change the model.
- Observe the exception
Log output
output is Cannot read properties of undefined (reading 'title')
Related/Duplicate Issues
This appears to be a duplicate of several existing issues with the same error when trying to select Google Gemini models:
Open duplicates (same error):
- #9263 - Cannot read properties of undefined (reading 'title')
- #9163 - "Cannot read properties of undefined (reading 'title')" when trying to select Google models
- #9058 - [Bug] Uncaught TypeError: Cannot read properties of undefined (reading 'title') when switching models
- #9208 - Cannnot add new google gemini model
- #8993 - 'title' being read as undefined
Closed duplicates:
- #8946 - When add a model, choose google gemini api, and then click "Model" DropDownList, it throw "Cannot read properties of undefined (reading 'title')"
- #8943 - I can't select a specific model from Google Gemini
- #8932 - [Bug] "Cannot read properties of undefined (reading 'title')" when selecting Gemini model
- #9143 - Can`t change gemini model
Related Gemini issues:
- #9262 - Error: Gemini 2.0 Flash - Unknown error
- #9251 - Error: Gemini 2.5 Pro - Unknown error
- #9239 - Error: Gemini 2.5 Pro - Unknown error
- #9153 - Error: Gemini 2.5 Pro - Unknown error
Fixed by https://github.com/continuedev/continue/pull/8954 will be in GA soon!