Skip to content

FNT Gap Analysis is broken. #5445

Description

@morrowc

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!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions