Duplicated from agents-course/Final_Assignment_Template
112345456from smolagents.tools import WebSearchTool, PythonMathToolfrom smolagents import DuckDuckGoSearchTool, PythonMathTool my_tool_list = [ WebSearchTool(), # 通用网页搜索 PythonMathTool(), # 代码和数学运算 DuckDuckGoSearchTool(), PythonMathTool(),]