Skip to content

issue: Gemini-3-Pro cannot work with Google Search Tool Filter #122

@ShirasawaSama

Description

@ShirasawaSama

Bug title

issue: Gemini-3-Pro cannot work with Google Search Tool Filter

Describe the bug

When using the Google Gemini: gemini-3-pro-preview model with the Google Search Tool Filter enabled and web_search activated, an error occurs:

Image

Steps to reproduce

  1. Enable Google Gemini Pipeline
  2. Enable Google Search Tool Filter
  3. Enable web_search feature
  4. Ask gemini-3-pro-preview model: "Today News"
  5. An error occurs

Environment

OpenWebUI 0.6.40
API Provider: OpenRouter
All pipelines are latest

Additional context

https://github.com/owndev/Open-WebUI-Functions/blob/main/pipelines/google/google_gemini.py#L1896

I noticed that enabling the google_search_tool feature adds two tools. However, based on the error message, if Google Search is enabled, no additional tools should be added.

After commenting out the code, everything worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions