[PR #8754] [CLOSED] Changed answerCount to count param in bing.py #45332

Closed
opened 2026-04-29 19:40:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/8754
Author: @clang88
Created: 1/22/2025
Status: Closed

Base: devHead: patch-1


📝 Commits (1)

  • 9b753c7 Change answerCount to count param in bing.py

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/open_webui/retrieval/web/bing.py (+1 -1)

📄 Description

Description

  • answerCount does not actually reduce the pages that are searched by OpenWebUI. Setting this to "count" makes sure that the "Search Result Count" is honored. Tested on my own deployment of Open WebUI.

Changed

  • Changed answerCount to count param in bing.py

Fixed

  • "Search Result Count" is now honored for Bing search provider

See Bing API docs: https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/query-parameters


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/8754 **Author:** [@clang88](https://github.com/clang88) **Created:** 1/22/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`9b753c7`](https://github.com/open-webui/open-webui/commit/9b753c707413deb46fd3ce1bc835a464168b0c33) Change answerCount to count param in bing.py ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/retrieval/web/bing.py` (+1 -1) </details> ### 📄 Description ### Description - answerCount does not actually reduce the pages that are searched by OpenWebUI. Setting this to "count" makes sure that the "Search Result Count" is honored. Tested on my own deployment of Open WebUI. ### Changed - Changed `answerCount` to `count` param in bing.py ### Fixed - "Search Result Count" is now honored for Bing search provider See Bing API docs: https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/reference/query-parameters --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 19:40:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#45332