This article was replied by Gemini
The error message
GenerateContentRequest.model: unexpected model name format
indicates that the model name configured for your Gemini API integration is incorrect or in an invalid format for the Gemini service.
Please check your Gemini settings in the software and ensure the model name is valid:
1. Click on the "Menu" in the top bar.
2. Navigate to "Translation Settings" and select "Gemini". Verify the model name entered there.
3. Also, navigate to "Speech Recognition Settings" and select "Gemini Speech Recognition". Verify the model name entered there.
Ensure the model name you are using (e.g., gemini-pro
, gemini-1.5-pro
, gemini-1.0-pro-latest
, etc.) is correct and supported by the Gemini API. You can refer to Google's official Gemini API documentation for the most up-to-date valid model names.
If the issue persists, please provide a screenshot of your Gemini configuration settings (both for Translation and Speech Recognition, if applicable) and specify which specific function you were using when this error occurred.