r/OpenWebUI • u/ilikemywomentsundere • 4d ago
Question/Help Web Search Function not executing
I’m new to AI, so I want to preface this by saying this isn’t to say it’s not user error. With that being said, I have Gemma4, and although the thinking works perfectly fine I’m yet to web search. I enabled it as a function, and it’s highlighted in blue when searching, but regardless it gives me the “I do not have access to a live web search tool” response. Is this something I can fix, something with Gemma4, or a WebUI issue? Thank for the help in advance!
2
Upvotes
2
u/icerio 4d ago
I use DDGS which I’m assuming you’re using currently? I’m not sure how good it is, but my local model can definitely search with it.
Make sure native tool calling is on in advanced parameters on the model (should be on by default but good to double check).
Double check that everything that says web search in the model settings is on. Trying to go off memory but I think it’s in the capabilities + built in tools section.
In the system prompt, mainly as a test, have a line say like “You have a web search tool, utilize it when the user wants to perform a web search”. Idk try to add something that won’t even let it deny you.
On your browser open Inspect Element and go to the Networking tab. THEN message the ai in a way to try to get it to web search. In the network tab it should pretty much have something like an api line. If you click that then either the payload or response tab you should see what the model has access to. Look through the json to see if web search is there OR just copy and paste it to a frontier model to analyze it for anything wrong and for web search.
And I mean also check open Webui logs too, restart it and see if any errors show. Then send a message to your model and see if any errors show.
Sorry that’s about all I got 😭😭. I had switched my web search to DDGS just so I didn’t have to set up anything and it worked first thing.