#934 Error code: 400 - [{'error': {'code': 400, 'message': '* GenerateContentRequest.model: unexpected model name format\n',

2a0d:6fc0* Posted at: 1 day ago 👁10

Error code: 400 - [{'error': {'code': 400, 'message': '* GenerateContentRequest.model: unexpected model name format\n', 'status': 'INVALID_ARGUMENT'}}]

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:en

1 Replies

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.

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions