[GH-ISSUE #16080] issue: DuckDuckGo search actually uses Bing Search in the background..? #17776

Closed
opened 2026-04-19 23:39:37 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @jhemmond on GitHub (Jul 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16080

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

0.6.18

Ollama Version (if applicable)

No response

Operating System

Win 11

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using 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 every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

When I enable Web Search for a prompt, and have already setup DuckDuckGo as my search engine. The query should be sent to DuckDuckGo.

Actual Behavior

Query is sent to bing.com


2025-07-28 02:21:25.779 | INFO     | open_webui.routers.retrieval:process_web_search:1914 - trying to web search with ('duckduckgo', ['"Best practices for implementing a sustainable waste management system in urban areas"']) - {}

2025-07-28 02:21:26.034 | INFO     | ddgs.ddgs:_text_bing:380 - response: [https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22⁠](https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22) 200 - {}

Steps to Reproduce

  1. Install 0.6.18, and configure DuckDuckGo as the search engine by enabling it under Settings > Web Search.
  2. Connect to Ollama or any OpenAI compatible server. I used Llama Swap and Llama.Cpp.
  3. Enable Web Search Query Generation under Settings > Interface.
  4. Enter a prompt "I need to replace brake pads for my Hyundai Accent - It's a 2015 and I don't trust OEM. Give me 3rd party parts with links".
  5. Observe the Docker logs for the query generated. Then Check what search engine is used to serve the query. Refer to my example below

Logs & Screenshots


2025-07-28 02:21:25.779 | INFO     | open_webui.routers.retrieval:process_web_search:1914 - trying to web search with ('duckduckgo', ['"Best practices for implementing a sustainable waste management system in urban areas"']) - {}

2025-07-28 02:21:26.034 | INFO     | ddgs.ddgs:_text_bing:380 - response: [https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22⁠](https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22) 200 - {}

Additional Information

No response

Originally created by @jhemmond on GitHub (Jul 28, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16080 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.6.18 ### Ollama Version (if applicable) _No response_ ### Operating System Win 11 ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior When I enable Web Search for a prompt, and have already setup DuckDuckGo as my search engine. The query should be sent to DuckDuckGo. ### Actual Behavior Query is sent to bing.com ``` 2025-07-28 02:21:25.779 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search with ('duckduckgo', ['"Best practices for implementing a sustainable waste management system in urban areas"']) - {} 2025-07-28 02:21:26.034 | INFO | ddgs.ddgs:_text_bing:380 - response: [https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22⁠](https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22) 200 - {} ``` ### Steps to Reproduce 1. Install 0.6.18, and configure DuckDuckGo as the search engine by enabling it under Settings > Web Search. 2. Connect to Ollama or any OpenAI compatible server. I used Llama Swap and Llama.Cpp. 3. Enable Web Search Query Generation under Settings > Interface. 4. Enter a prompt "I need to replace brake pads for my Hyundai Accent - It's a 2015 and I don't trust OEM. Give me 3rd party parts with links". 5. Observe the Docker logs for the query generated. Then Check what search engine is used to serve the query. Refer to my example below ### Logs & Screenshots ``` 2025-07-28 02:21:25.779 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search with ('duckduckgo', ['"Best practices for implementing a sustainable waste management system in urban areas"']) - {} 2025-07-28 02:21:26.034 | INFO | ddgs.ddgs:_text_bing:380 - response: [https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22⁠](https://www.bing.com/search?q=%22Best+practices+for+implementing+a+sustainable+waste+management+system+in+urban+areas%22) 200 - {} ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-19 23:39:37 -05:00
Author
Owner

@tjbck commented on GitHub (Jul 28, 2025):

https://github.com/deedy5/ddgs

<!-- gh-comment-id:3125744192 --> @tjbck commented on GitHub (Jul 28, 2025): https://github.com/deedy5/ddgs
Author
Owner

@rgaricano commented on GitHub (Jul 28, 2025):

Yes, I think that was a mistake reemplazing that lib, it isn't a pure duckduckgo search, its acronym is "Dux Distributed Global Search", it use different search engines

ENGINES: dict[str, dict[str, type[BaseSearchEngine[Any]]]] = {
    "text": {
        "bing": Bing,
        "brave": Brave,
        "duckduckgo": Duckduckgo,  # bing
        "google": Google,
        "mojeek": Mojeek,
        "mullvad_brave": MullvadLetaBrave,  # brave
        "mullvad_google": MullvadLetaGoogle,  # google
        "yahoo": Yahoo,  # bing
        "yandex": Yandex,
        "wikipedia": Wikipedia,
    },
<!-- gh-comment-id:3126006541 --> @rgaricano commented on GitHub (Jul 28, 2025): Yes, I think that was a mistake reemplazing that lib, it isn't a pure duckduckgo search, its acronym is "Dux Distributed Global Search", it use different search engines ``` ENGINES: dict[str, dict[str, type[BaseSearchEngine[Any]]]] = { "text": { "bing": Bing, "brave": Brave, "duckduckgo": Duckduckgo, # bing "google": Google, "mojeek": Mojeek, "mullvad_brave": MullvadLetaBrave, # brave "mullvad_google": MullvadLetaGoogle, # google "yahoo": Yahoo, # bing "yandex": Yandex, "wikipedia": Wikipedia, }, ```
Author
Owner

@robertcontois commented on GitHub (Aug 11, 2025):

That appears to be the default behavior and it should either specify "duckduckgo" as the backend when making a "Duckduckgo" search request from open webui through ddgs, or the text should be updated in open webui and not appear as if Duckduckgo is the search engine being used.

<!-- gh-comment-id:3174883980 --> @robertcontois commented on GitHub (Aug 11, 2025): That appears to be the default behavior and it should either specify "duckduckgo" as the backend when making a "Duckduckgo" search request from open webui through ddgs, or the text should be updated in open webui and not appear as if Duckduckgo is the search engine being used.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#17776