Browse Source

fix: setup default filters while add credentials (#2669)

Yeuoly 1 năm trước cách đây
mục cha
commit
72ddedfc5c
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      api/core/tools/provider/builtin/bing/bing.py

+ 2 - 1
api/core/tools/provider/builtin/bing/bing.py

@@ -16,7 +16,8 @@ class BingProvider(BuiltinToolProviderController):
                 user_id='',
                 tool_parameters={
                     "query": "test",
-                    "result_type": "link"
+                    "result_type": "link",
+                    "enable_webpages": True,
                 },
             )
         except Exception as e: