You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/draft/apps.mdx
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -835,6 +835,8 @@ Guest UI behavior:
835
835
836
836
This request allows apps to persist state that the model can see in subsequent messages. The state is stored per-conversation and sent with each completion request, enabling the model to be aware of the current widget configuration and user selections.
837
837
838
+
**Important:** Widget state is ephemeral and not persisted across browser sessions or page reloads. Apps SHOULD send their initial state after receiving the `ui/notifications/tool-input` notification to ensure the model has context from the start of each session.
839
+
838
840
Host behavior:
839
841
* Host MUST store the widget state associated with the current conversation.
840
842
* Host MUST include all stored widget states in subsequent completion requests to the model.
0 commit comments