Skip to content

Commit fb5cf6a

Browse files
committed
Update spec
1 parent 67ce38c commit fb5cf6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

specification/draft/apps.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,8 @@ Guest UI behavior:
835835

836836
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.
837837

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+
838840
Host behavior:
839841
* Host MUST store the widget state associated with the current conversation.
840842
* Host MUST include all stored widget states in subsequent completion requests to the model.

0 commit comments

Comments
 (0)