Timothy Jaeryang Baek 3 месяцев назад
Родитель
Сommit
7a70fd1312
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      backend/open_webui/retrieval/web/bing.py

+ 1 - 1
backend/open_webui/retrieval/web/bing.py

@@ -23,7 +23,7 @@ def search_bing(
     filter_list: Optional[list[str]] = None,
 ) -> list[SearchResult]:
     mkt = locale
-    params = {"q": query, "mkt": mkt, "answerCount": count}
+    params = {"q": query, "mkt": mkt, "count": count}
     headers = {"Ocp-Apim-Subscription-Key": subscription_key}
 
     try: