From e9440e49abb755802c646c427865f96d70f42f6f Mon Sep 17 00:00:00 2001 From: minecraft1024a Date: Fri, 15 Aug 2025 12:53:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4WEBSEARCHPLUGIN=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=86=97=E4=BD=99=E9=85=8D=E7=BD=AE=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=EF=BC=8C=E7=9B=B8=E5=85=B3=E9=85=8D=E7=BD=AE=E5=B7=B2=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E8=87=B3=E4=B8=BB=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?bot=5Fconfig.toml=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/built_in/web_search_tool/plugin.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins/built_in/web_search_tool/plugin.py b/src/plugins/built_in/web_search_tool/plugin.py index 34b67b4ab..05f318cd6 100644 --- a/src/plugins/built_in/web_search_tool/plugin.py +++ b/src/plugins/built_in/web_search_tool/plugin.py @@ -632,15 +632,6 @@ class WEBSEARCHPLUGIN(BasePlugin): "socks5_proxy": ConfigField(type=str, default=None, description="SOCKS5代理地址,格式如: socks5://proxy.example.com:1080"), "enable_proxy": ConfigField(type=bool, default=False, description="是否启用代理") }, - # EXA相关配置已迁移到主配置文件 bot_config.toml 的 [exa] 部分 - # "exa":{ - # "api_key":ConfigField(type=str, default="None", description="exa的API密钥") - # }, - # 组件设置已迁移到主配置文件 bot_config.toml 的 [web_search] 部分 - # "components":{ - # "enable_web_search_tool":ConfigField(type=bool, default=True, description="是否启用联网搜索tool"), - # "enable_url_tool":ConfigField(type=bool, default=True, description="是否启用URL解析tool") - # } } def get_plugin_components(self) -> List[Tuple[ComponentInfo, Type]]: enable_tool =[]