Describe the bug
Error: Gemini analysis failed: gemini api returned non-ok status 404: {
"error": {
"code": 404,
"message": "models/gemini-2.5-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.",
"status": "NOT_FOUND"
}
}
looks like some gemini bits need an update?
I attempted to fix this with just swapping:
const geminiAPIURL = "https://generativelanguage.googleapis.com/v1beta/models/%s:generateContent?key=%s"
with:
const geminiAPIURL = "https://generativelanguage.googleapis.com/v1/models/%s:generateContent?key=%s"
that appears to require some JSON changes in the reply catching.. nope, not today satan!
Describe the bug
looks like some gemini bits need an update?
I attempted to fix this with just swapping:
const geminiAPIURL = "https://generativelanguage.googleapis.com/v1beta/models/%s:generateContent?key=%s"with:
const geminiAPIURL = "https://generativelanguage.googleapis.com/v1/models/%s:generateContent?key=%s"that appears to require some JSON changes in the reply catching.. nope, not today satan!