Create_react_agent and intermediate_steps without an AgentExecutor

Btw, I am using MessagesState to store the state (graph = StateGraph(MessagesState)).