Find answers from the community

Updated 2 months ago

Assigning System Prompt to a ReAct Agent

hi what would be the best way to assign system prompt to a ReAct agent when I instantiate it? thank you!
L
1 comment
ReActAgent.from_tools(..., context="some prompt")

Its already using a system prompt for the react instructions. But you can inject additional context
Add a reply
Sign up and join the conversation on Discord