mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
fix: bing search
This commit is contained in:
parent
006208f9a9
commit
7a70fd1312
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def search_bing(
|
||||||
filter_list: Optional[list[str]] = None,
|
filter_list: Optional[list[str]] = None,
|
||||||
) -> list[SearchResult]:
|
) -> list[SearchResult]:
|
||||||
mkt = locale
|
mkt = locale
|
||||||
params = {"q": query, "mkt": mkt, "answerCount": count}
|
params = {"q": query, "mkt": mkt, "count": count}
|
||||||
headers = {"Ocp-Apim-Subscription-Key": subscription_key}
|
headers = {"Ocp-Apim-Subscription-Key": subscription_key}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue