Skip to content

Recent Update Has Broken Gemini support #5242

@jatinsu

Description

@jatinsu

Describe the bug
when updating to a recent goose version using a google gemini model returns the following message:

Ran into this error: Request failed: Request failed with status: 400 Bad Request. Message: Invalid JSON payload received. Unknown name "$ref" at 'tools.function_declarations[3].parameters.properties[0].value.any_of[0]': Cannot find field..

I have not checked which version broke this, but it works in version v1.0.16

To Reproduce
run goose update and then goose configure and select Google Gemini model

Expected behavior
goose to return an output

Screenshots
v1.0.16

Image

v1.11.0

Image

Please provide following information:

  • OS & Arch: Fedora 42
  • Interface: CLI
  • Version: 1.11.0
  • Extensions enabled: None
  • Provider & Model: Google - gemini-2.0-flash

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p0Priority 0 - Critical/Urgent

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions