My app performs a search and displays the results. Everything works correctly the first time because I receive the inputs through ontoolinput.
However, when I refresh the page, the chat reloads and the app initializes again, but ontoolinput does not fire. I’m not sure how to access the original tool input data after a refresh.
Additional details:
- I’m not relying on state persistence, I simply need to access the previous tool input
- I’m using ChatGPT
Am I missing something?