I am working on building a topic in my agent that will collect information and email it to a department. We have a Microsoft Graph API tool that is called to send the email. The tool has outputs, but they are not used by this topic. The inputs are filled by questions earlier in the topic. The tool is working properly when called, and when I complete work on the topic, the agent works as expected.
The problem I am having is that the inputs are not being maintained by the topic. I will save the topic and test it and the process works perfectly - the inputs are collected and the email is sent. However, if I navigate away, close the agent or simply wait too long, the inputs will no longer be in the tool node. No matter how many times I have rewritten the node, either using the standard editor or by editing the code directly, the inputs will not remain in the topic for any length of time.
How can I ensure that this topic will remain in the state I leave it after I leave the screen or wait?