system_prompt
kwarg into my ReAct Agent when creating from tools, but it doesn't seem to be having any effect on the agent. When I dig into the source code I'm having a hard time discerning whether ReAct agents really accept this kwarg and do anything with it?ReActChatFormatter
**kwargs
aren't used anywhere in the from_tools
method. Maybe that should be removed from the function arguments π ?ReActChatFormatter
because really this is a ReActChatFormatter that allows the user to input some additional context to the agent that might prime it for its answers and tool selection beyond just the tool metadata. I wrote a new class called ContextReActChatFormatter
. I suspect more revisions will be needed before its added accepted into the framework officially.