Skip to content

Commit 2b0869d

Browse files
committed
spec: change overwrite behavior from SHOULD to MAY
Gives hosts flexibility to accumulate context history if desired, rather than mandating replacement semantics.
1 parent 0e2ad4b commit 2b0869d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

specification/draft/apps.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ This event serves a different use case from `notifications/message` (logging) an
837837

838838
Host behavior:
839839
- SHOULD provide the context to the model in future turns
840-
- SHOULD overwrite the previous model context with the new update
840+
- MAY overwrite the previous model context with the new update
841841
- MAY defer sending the context to the model until the next user message (including `ui/message`)
842842
- MAY dedupe identical `ui/update-model-context` calls
843843
- If multiple updates are received before the next user message, Host SHOULD only send the last update to the model

0 commit comments

Comments
 (0)