mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:03:05 -05:00
[PR #24768] [MERGED] fix: pass subscription_key and endpoint in bing.py CLI search_bing() call #131495
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24768
Author: @Classic298
Created: 5/15/2026
Status: ✅ Merged
Merged: 5/19/2026
Merged by: @tjbck
Base:
dev← Head:fix/bing-cli-missing-args📝 Commits (1)
a2ad77bfix: pass subscription_key and endpoint in bing.py CLI search_bing() call📊 Changes
1 file changed (+10 additions, -1 deletions)
View changed files
📝
backend/open_webui/retrieval/web/bing.py(+10 -1)📄 Description
The main block called search_bing() with 4 positional arguments, but the function requires 5 (subscription_key, endpoint, locale, query, count). Running
python -m open_webui.retrieval.web.bingraised a TypeError and, before failing, silently misrouted every argument. Read the key/endpoint from environment variables, matching config.py defaults.Closes #24765
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.