mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[GH-ISSUE #15920] issue: Not able to use gemini grounding in openwebui #104716
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @anirugu on GitHub (Jul 21, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15920
Check Existing Issues
Installation Method
Docker
Open WebUI Version
latest
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
I am using openwebui through litellm and things are running fine. I am trying to use gemini 2.5 pro in postman by passing
"tools": [{"googleSearch": {}}]I am able to search the internet. Is there a way I can set this in openwebui so whenever I am calling this model, it will pass this in request.
Actual Behavior
not able to search the internet.
Steps to Reproduce
use this in litellm config.yaml
litellm_params:
model: gemini/gemini-2.5-pro
api_key: "Testingkeyhere"
Logs & Screenshots
Additional Information
No response
@almajo commented on GitHub (Jul 22, 2025):
You have the option to pass custom parameters to each model (see the model parameters like temperature etc. and scroll all the way down). As tools is a special keyword, I'm not sure how this is being handled, though. Maybe it works.
@rgaricano commented on GitHub (Jul 22, 2025):
you can use this tool: https://openwebui.com/t/sgpsonnet/gemini_search
@athoik commented on GitHub (Jul 23, 2025):
@anirugu you can always enable google search on LiteLLM config as seen here https://github.com/BerriAI/litellm/issues/8205#issuecomment-2905003919
@anirugu commented on GitHub (Jul 23, 2025):
@athoik
I tried this one and with only "tools" part too, I am still not getting the result, I created a issue in litellm as well.
@athoik commented on GitHub (Jul 25, 2025):
It works with Gemini 2.0 Flash, but it fails with Gemini 2.5 Flash or Gemini 2.5 Pro.
Please note that you can set tools using Advanced Params on model, without changes on LiteLLM config.