Trying to contact the model returned this error: { "error": { "code": 404, "message": "models/embedding-001 is not found for API version v1beta, or is not supported for embedContent. Call ListModels to see the list of available models and their supported methods.", "status": "NOT_FOUND" } }
Je n’ai même pas l’option text-embedding-3-small. Est-ce que cela vient d’un autre modèle ? Peu importe, c’est celui d’OpenAI. Toute mon IA est configurée sur Google Cloud avec Gemini. La seule option d’intégration que j’ai est le modèle Gemini's embedding-001.
oh hey i am now getting something similar with gemini-2.5-flash-image (nanobanana) - this just happened:
Trying to contact the model returned this error: { "error": { "code": 404, "message": "models/gemini-2.5-flash-image-preview 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.", "status": "NOT_FOUND" } }
Je ne sais pas dans votre cas, à part vérifier que l’URL est correcte pour le modèle d’intégration ? J’ai juste mis à jour les champs pour ceux qui ont changé. Je n’ai pas mis à jour mon instance.