[GH-ISSUE #8454] BING web searches show the wrong number of sites #53800

Closed
opened 2026-05-05 15:20:49 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @jbaron on GitHub (Jan 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8454

Bug Report

Installation Method

Installed using Docker and stand alone

Environment

  • Open WebUI Version: v0.5.4
  • Ollama (if applicable): n.a
  • Operating System: macOS Sequoia
  • Browser (if applicable): n.a

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • 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.

Expected Behavior:

The UI should show the number of configured sites that has been searched, not always 10.

The Reason is the wrong config of the Bing parameters in the Python backend (bing.py):

params = {"q": query, "mkt": mkt, "answerCount": count}

Fix:

params = {"q": query, "mkt": mkt, "count": count, "responseFilter": "Webpages"}

Actual Behavior:

It shows 10 (the default) number of sites searched, because "count" defaults to 10. The actual number of sites scraped is correct.

Description

Bug Summary:
The wring number if sites searched are displayed when using Bing search.

Reproduction Details

Steps to Reproduce:
Enable Bing search and use it in a conversation. It will always show 10 (although the actual number of searched sites is lower).

Logs and Screenshots

Browser Console Logs:
n.a

Docker Container Logs:
n.a

Originally created by @jbaron on GitHub (Jan 10, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8454 # Bug Report ## Installation Method Installed using Docker and stand alone ## Environment - **Open WebUI Version:** v0.5.4 - **Ollama (if applicable):** n.a - **Operating System:** macOS Sequoia - **Browser (if applicable):** n.a **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. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: The UI should show the number of configured sites that has been searched, not always 10. The Reason is the wrong config of the Bing parameters in the Python backend (`bing.py`): ```python params = {"q": query, "mkt": mkt, "answerCount": count} ``` Fix: ```python params = {"q": query, "mkt": mkt, "count": count, "responseFilter": "Webpages"} ```` ## Actual Behavior: It shows 10 (the default) number of sites searched, because "count" defaults to 10. The actual number of sites scraped is correct. ## Description **Bug Summary:** The wring number if sites searched are displayed when using Bing search. ## Reproduction Details **Steps to Reproduce:** Enable Bing search and use it in a conversation. It will always show 10 (although the actual number of searched sites is lower). ## Logs and Screenshots **Browser Console Logs:** n.a **Docker Container Logs:** n.a
Author
Owner

@tjbck commented on GitHub (Jan 21, 2025):

Addressed in dev with 7a70fd1312, appreciate the report!

<!-- gh-comment-id:2603797841 --> @tjbck commented on GitHub (Jan 21, 2025): Addressed in dev with 7a70fd1312423075dcd90b10c93e09c9467d858a, appreciate the report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#53800