Problem setting up Google AI Studio API Hey, has anyone else had problems adding their Google Cloud API key? I always get this error message:
Error: "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."
It seems the problem is that Dust uses model "models/gemini-pro", and that Google removed it from the list of supported models. It's likely a simple Dust change to ask for a different model. "models/gemini-1.5-pro" or "models/gemini-1.5-pro-latest" are probably the right ones. Probably here: https://github.com/dust-tt/dust/blob/b596425024f3bea6e9dca6f928f323c1e4fcff1c/front/pages/api/w/%5BwId%5D/providers/%5BpId%5D/check.ts#L225 You can get the full list of supported models by going to https://generativelanguage.googleapis.com/v1beta/models?key=[your-google-key].