in
agent_executor = create_react_agent(llm, tools, state_modifier=prompt)
state_modifier has to be replaced by promt
after that also when i run the code
following error
AttributeError: 'AIMessage' object has no attribute 'steps'
During task with name 'planner' and id '5117a700-865f-20f4-f775-fcece8aaf0c9'