mirror of
https://github.com/open-webui/open-webui
synced 2025-01-22 18:55:53 +00:00
fix: bing search
This commit is contained in:
parent
006208f9a9
commit
7a70fd1312
@ -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 New Issue
Block a user