[GH-ISSUE #10556] WebSearch button broken #15933

Closed
opened 2026-04-19 22:00:15 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @duluk on GitHub (Feb 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10556

The WebSearch button under the chat input box doesn't toggle. I have enabled Web Search in the settings, but there's no way to toggle it off. I can toggle the Code Interpreter but not WebSearch.

It remains blue regardless. And the line above the chat box, 'Search the internet', remains on the screen with the blue dot.

Installation Method

I'm using the latest version of Open WebUI with the Docker installation, using this command:

docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=https://localhost:11434 -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Environment

  • Open WebUI Version: v0.5.16

  • Ollama (if applicable): v0.5.11

  • Operating System: Linux, macOS, Windows

  • Browser (if applicable): Chrome, Brave, Safari (all up to date)

Confirmation:

  • [ X ] I have read and followed all the instructions provided in the README.md.
  • [ X ] I am on the latest version of both Open WebUI and Ollama.
  • [ ] I have included the browser console logs.
  • [ ] I have included the Docker container logs.
  • [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

I have looked at the Docker container logs but nothing stand out. I have traced it through browser dev tools but haven't found the issue yet. I looked at the code, but I'm not a Svelte (or web) developer. Nothing stands immediately out there either.

Expected Behavior:

Clicking the WebSearch button would toggle web search functionality on and off, like the Code Interpreter button (which does toggle btw).

Actual Behavior:

Nothing. The click has no effect. WebSearch is used for each query. (though FWIW, the web search functionality works fine as far as I can tell)

Description

Bug Summary:
See above.

Reproduction Details

Steps to Reproduce:
Install Open WebUI with docker and enable Web Search in the settings (Admin Panel).

Logs and Screenshots

I don't see the usefulness in providing a screenshot. You will just see the WebSearch button highlighted blue as enabled. Clicking does nothing.

Additional Information

Two things:

  1. It's entirely possible I'm doing something dumb. I may try installing it without Docker and see how that goes.
  2. I am running Open WebUI on a host being served through a CNAME with an nginx reverse proxy so that I can just type the CNAME (webui.mydomain.xxx) and be redirected to the port actually being listened on. This is just on a local network, not public facing.

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @duluk on GitHub (Feb 22, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10556 The `WebSearch` button under the chat input box doesn't toggle. I have enabled Web Search in the settings, but there's no way to toggle it off. I can toggle the `Code Interpreter` but not `WebSearch`. It remains blue regardless. And the line above the chat box, 'Search the internet', remains on the screen with the blue dot. ## Installation Method I'm using the latest version of Open WebUI with the Docker installation, using this command: ``` docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=https://localhost:11434 -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main ``` ## Environment - **Open WebUI Version:** v0.5.16 - **Ollama (if applicable):** v0.5.11 - **Operating System:** Linux, macOS, Windows - **Browser (if applicable):** Chrome, Brave, Safari (all up to date) **Confirmation:** - [ X ] I have read and followed all the instructions provided in the README.md. - [ X ] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. I have looked at the Docker container logs but nothing stand out. I have traced it through browser dev tools but haven't found the issue yet. I looked at the code, but I'm not a Svelte (or web) developer. Nothing stands immediately out there either. ## Expected Behavior: Clicking the `WebSearch` button would toggle web search functionality on and off, like the `Code Interpreter` button (which does toggle btw). ## Actual Behavior: Nothing. The click has no effect. WebSearch is used for each query. (though FWIW, the web search functionality works fine as far as I can tell) ## Description **Bug Summary:** See above. ## Reproduction Details **Steps to Reproduce:** Install Open WebUI with docker and enable Web Search in the settings (Admin Panel). ## Logs and Screenshots I don't see the usefulness in providing a screenshot. You will just see the `WebSearch` button highlighted blue as enabled. Clicking does nothing. ## Additional Information Two things: 1. It's entirely possible I'm doing something dumb. I may try installing it without Docker and see how that goes. 1. I am running Open WebUI on a host being served through a CNAME with an nginx reverse proxy so that I can just type the CNAME (webui.mydomain.xxx) and be redirected to the port actually being listened on. This is just on a local network, not public facing. ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Author
Owner

@silentoplayz commented on GitHub (Feb 22, 2025):

Set Web Search in Chat from Always to Default in the Interface user settings menu.
Image

<!-- gh-comment-id:2676013142 --> @silentoplayz commented on GitHub (Feb 22, 2025): Set `Web Search in Chat` from `Always` to `Default` in the `Interface` user settings menu. ![Image](https://github.com/user-attachments/assets/47ef6baf-c58a-47c4-966d-a955db6400f3)
Author
Owner

@duluk commented on GitHub (Feb 22, 2025):

HA. Yep. Like I said, I may be doing something dumb.

Works beautifully now. Thank you! (no wonder I couldn't see what was wrong in the code...)

And yeah, I missed this:
($settings?.webSearch ?? false) === 'always'

<!-- gh-comment-id:2676015047 --> @duluk commented on GitHub (Feb 22, 2025): HA. Yep. Like I said, I may be doing something dumb. Works beautifully now. Thank you! (no wonder I couldn't see what was wrong in the code...) And yeah, I missed this: `($settings?.webSearch ?? false) === 'always'`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15933