remove WebSearch tool for Manus

This commit is contained in:
liangxinbing 2025-03-17 23:51:16 +08:00
parent 9bdd820105
commit 5cf34f82df
2 changed files with 2 additions and 5 deletions

View File

@ -8,7 +8,6 @@ from app.tool import Terminate, ToolCollection
from app.tool.browser_use_tool import BrowserUseTool
from app.tool.file_saver import FileSaver
from app.tool.python_execute import PythonExecute
from app.tool.web_search import WebSearch
class Manus(ToolCallAgent):
@ -34,7 +33,7 @@ class Manus(ToolCallAgent):
# Add general-purpose tools to the tool collection
available_tools: ToolCollection = Field(
default_factory=lambda: ToolCollection(
PythonExecute(), WebSearch(), BrowserUseTool(), FileSaver(), Terminate()
PythonExecute(), BrowserUseTool(), FileSaver(), Terminate()
)
)

View File

@ -6,9 +6,7 @@ PythonExecute: Execute Python code to interact with the computer system, data pr
FileSaver: Save files locally, such as txt, py, html, etc.
BrowserUseTool: Open, browse, and use web browsers.If you open a local HTML file, you must provide the absolute path to the file.
WebSearch: Perform web information retrieval
BrowserUseTool: Open, browse, and use web browsers. If you open a local HTML file, you must provide the absolute path to the file.
Terminate: End the current interaction when the task is complete or when you need additional information from the user. Use this tool to signal that you've finished addressing the user's request or need clarification before proceeding further.