In the docs it says:
Widget state can be used for persisting data across user sessions, and exposing data to ChatGPT. Anything you pass to
setWidgetStatewill be shown to the model, and hydrated intowindow.openai.widgetState.Note that currently everything passed to
setWidgetStateis shown to the model. For the best performance, it’s advisable to keep this payload small, and to not exceed more than 4k tokens.
But in a conversation the model does not seem aware of my widget state change updates. But I know they succeeded because the position of the cards is persisted across reloads.
(Sorry the forum didn’t let me include links)