Skip to content

Fetch extension triggers 400 Bad request on Gemini models #1863

@MrOrz

Description

@MrOrz

Describe the bug

When using Gemini (Google AI studio) models with Fetch extension, the function definition sent by Goose triggers the following error on every chatbot response:

Ran into this error: Request failed: Request failed with status: 400 Bad Request. Message: * GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[url].format: only 'enum' and 'date-time' are supported for STRING type
.

Please retry if you think this is a transient or recoverable error.

To Reproduce
Steps to reproduce the behavior:

  1. Install Fetch extension via https://block.github.io/goose/extensions/
  2. Configure Google and select Gemini models (such as Gemini-2.0-flash) in Goose app
  3. Enable only Fetch extension in Goose app
  4. Say "hi" to Gemini in Goose app

Expected behavior

  • Gemini can respond.

Screenshots
Error is reported instead
Image

Please provide following information:

  • OS & Arch: Mac OSX Ventura 13.7.1
  • Interface: UI
  • Version: v1.0.15
  • Extensions enabled: Fetch
  • Provider & Model: gemini-2.0-flash, gemini-2.5-pro-exp-03-25 provided by Google (not Vertex AI)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    mcpMCP/Extension relatedp2Priority 2 - Medium

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions