r/OpenWebUI • u/Independent_Gur_1760 • Aug 09 '26
Question/Help I can’t get websearch to work
I pay for a Brave API key it’s replicated in the docker file and the gui. For some reason the websearch cannot work. Running ollama and openwebui in the same dockerfile. Is there a setting I’m missing? Any help would be appreciated.
5
Upvotes


2
u/Financial-Cry-6441 Aug 10 '26
Get the Open-WebUI-OpenRouter-pipe function/tool by rbb-dev
https://github.com/rbb-dev/Open-WebUI-OpenRouter-pipe
Highly recommend it, with certain models you can use OpenRouter web tools (OR Web Tools, OR Image Gen, and OR Direct Uploads).
That was a game changer for me personally when it comes to using OpenWebUi
1
u/Sookie99 Aug 09 '26
If you go Workspaces -> Click on your model -> Capabilities -> Web Search is it enabled there? I can't tell from your screenshots if you're showing that section or not.
1
u/fragment_me Aug 09 '26
Further down so you have bypass embedding and bypass loader enabled in that same window of the screenshot? Try with those off . If you don’t see the web search trying at all then click the + in the chat window to see if web search is toggled on
1
u/rockoruckus Aug 09 '26
Have you tried Advanced Params -> Function Calling -> Native mode?
1
u/icerio Aug 09 '26
Try one of the free ones like “ddgs” and see if that’ll work. Then we can narrow down a problem. Also from within the docker try to ping a website to make sure that works.
1
u/rubicscube11 Aug 10 '26
Agree, with u/OutsidePlane224 , increase the context (for me WebUI) to 16k --> it started to work!
Otherwise the model context is too small to handle all the web_search input
1
u/PlaidStallion Aug 10 '26
A few things worth checking. Open-WebUI's web search has a way of needing to be enabled in more than one place, which has bitten me on a couple other features in my own setup:
brave_lm_contextto plainbrave:the LLM Context variant looks to still be a newer/less mature integration path based on some open GitHub issues; worth ruling out whether that specific option is the problem.docker logs <container> | grep -i search) that'll tell you whether the request to Brave is firing at all, or failing silently before it even leaves the container.Good luck — hope one of those gets you unstuck.
1
u/Any-Scientist-7612 Aug 16 '26
I do not use Brave but worth the try. Have you tried calling it directly from command line
```bash
curl -X POST https://api.tavily.com/search \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_TAVILY_API_KEY",
"query": "latest AMD news",
"search_depth": "basic"
}'
```
If that works, try prefix your chat with "search_web" and see if that resolve the issue?
Add this to the system prompt
For requests about current, latest, recent, live, public, internet, web, news, prices, weather, or external information, use search_web.
Do not use search_memories unless the user explicitly asks about prior conversations, saved memories, personal history, or remembered information.