ToolCallingAgents do not follow the ReAct (Yao et al., 2022) Paradigm #1792
michaeltheologitis
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
The documentation implies that smolagent agents work with the ReAct (Yao et al., 2022) paradigm. This is true only for the CodeAgents and not on the ToolCallingAgents — you can validate this from the specific prompts at:
https://github.com/huggingface/smolagents/tree/main/src/smolagents/prompts
The ToolCallingAgents work by simple Actions/Observation (without Reasoning or any CoT). This was unclear in the docs and I am wondering: 1. Is this intentional?, and 2. Why is this happening when we can have better results by simply adding reasoning to the prompt requirements?
Beta Was this translation helpful? Give feedback.
All reactions