-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
I notice that only one tool is allowed when invoking the tool. How can I use more than one tools during training, e.g., search and python. The LLM should decide which tool to use in each iteration itself.
def _default_tool(name):
if name == "search":
from agent_r1.tool.tools.search_tool import SearchTool
return SearchTool()
elif name == "wiki_search":
from agent_r1.tool.tools.wiki_search_tool import WikiSearchTool
return WikiSearchTool()
elif name == "python":
from agent_r1.tool.tools.python_tool import PythonTool
return PythonTool()
else:
raise NotImplementedError(f"Tool {name} not implemented")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels