Hello, I am trying to build an agent around a query pipeline by following the below document. Everything seems to be working fine but for some reason the state object is getting reset every time when I ask a question using agent.chat. Can anyone suggest me how I can troubleshoot this