Gemini-pro open source model suddenly its throwing on 404 Error

‘gemini-pro’ open source model suddenly does not support its throwing on 404 error “google.api_core.exceptions.NotFound: 404 models/gemini-pro is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.”

1 Like

I can confirm that list_models doesn’t include the model any more. And, to clarify, models/gemini-pro never was an open-source model. The models models/gemini-1.5-pro-001 or models/gemini-1.5-pro-002 should work for your application, the -001 if you prefer the older behavior, the -002 the more recent behavior.

1 Like
  1. models/gemini-pro-latest is not found for API version v1, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods. it will be show me message when run api