[GH-ISSUE #7467] enh: Link to the configured search query URL instead of Google.com in responses #69362

Closed
opened 2026-05-13 01:42:08 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @nschulzke on GitHub (Nov 29, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7467

Feature Request

Is your feature request related to a problem? Please describe.
I just set up search with a self-hosted SearXNG, and initially I thought I'd configured it wrong because the link under "Searched 3 sites" was to google.com. On investigation it appears that this is because google.com is hard-coded into the view, so it will always use that no matter what engine is set up.

Describe the solution you'd like
If possible, the ideal solution would be to link to the configured search provider, whichever that is. I haven't dug into it yet, but I imagine that the backend is already building a URL somehow and that this URL could be returned to the frontend.

This may be more complicated for engines that are configured with API keys, and I'm not sure what your preferred approach to handling that would be. If certain engines don't have an obvious URL to link to, could we default to google.com for those but still support linking directly to the easy engines?

Describe alternatives you've considered
We could leave it as is, but it's somewhat confusing for someone who isn't using google.com as their search, and requires a bit of extra work to get to the same search results page that the model used.

Additional context
I'm happy to do the implementation work for this, I just want to get feedback from the maintainers on if this is something you'd integrate and if so if there are any considerations for compatibility with all the different search engines. SearXNG is relatively straightforward, but other engines may not be as obvious.

Screenshot showing the link I'm talking about:

image

Originally created by @nschulzke on GitHub (Nov 29, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7467 # Feature Request **Is your feature request related to a problem? Please describe.** I just set up search with a self-hosted SearXNG, and initially I thought I'd configured it wrong because the link under "Searched 3 sites" was to google.com. On investigation it appears that this is [because google.com is hard-coded](https://github.com/open-webui/open-webui/blob/0a26c41c7b58300f37348ba580a4f0d682ca5fbd/src/lib/components/chat/Messages/ResponseMessage/WebSearchResults.svelte#L29) into the view, so it will always use that no matter what engine is set up. **Describe the solution you'd like** If possible, the ideal solution would be to link to the configured search provider, whichever that is. I haven't dug into it yet, but I imagine that the backend is already building a URL somehow and that this URL could be returned to the frontend. This may be more complicated for engines that are configured with API keys, and I'm not sure what your preferred approach to handling that would be. If certain engines don't have an obvious URL to link to, could we default to google.com for those but still support linking directly to the easy engines? **Describe alternatives you've considered** We could leave it as is, but it's somewhat confusing for someone who isn't using google.com as their search, and requires a bit of extra work to get to the same search results page that the model used. **Additional context** I'm happy to do the implementation work for this, I just want to get feedback from the maintainers on if this is something you'd integrate and if so if there are any considerations for compatibility with all the different search engines. SearXNG is relatively straightforward, but other engines may not be as obvious. Screenshot showing the link I'm talking about: ![image](https://github.com/user-attachments/assets/bb099c16-26c7-4069-b0d0-0df29e3e5c75)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69362