The community member is trying to create a ReAct agent that doesn't use tools, just acting as an agent. They found that using tool=None causes the script to try to use a tool called "None", which doesn't work. Other community members suggest using llm.chat(chat_messages) or SimpleChatEngine instead, as the ReAct agent is not really set up to work without tools. The community member is also exploring ways to handle errors like "couldn't find a tool" more gracefully, but couldn't get the handle_reasoning_failure_fn to work satisfactorily.
Hello! Someone knows how to make a ReAct agent in a way it doesnt try to use tools? Just act as a agent, but not requesting no tool? Using tool=None makes it tries to use a tool called None, who makes the script doesnt work
I am prototyping something, and probably sooner I will need to use some tools on the agent, but for now I wanted to try it without tools. And the way agent handle chat history was interesting for me at the time. I will try these other 2 ways!
Got it! But would be fine to have ways to handle agent errors like "couldnt parse output" or "no tool found" in a more gracefull way. I found something about the handle_reasoning_failure_fn, but couldnt put it to use in a satisfactory way