From fef87eb3e911f004fdd9072552f283c67dd13e36 Mon Sep 17 00:00:00 2001 From: kage18 <18kushaljain@gmail.com> Date: Fri, 15 May 2026 23:43:01 +0530 Subject: [PATCH] docs(ui): clarify stream finish message id --- content/docs/04-ai-sdk-ui/50-stream-protocol.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/docs/04-ai-sdk-ui/50-stream-protocol.mdx b/content/docs/04-ai-sdk-ui/50-stream-protocol.mdx index def74733879e..43e9acda452c 100644 --- a/content/docs/04-ai-sdk-ui/50-stream-protocol.mdx +++ b/content/docs/04-ai-sdk-ui/50-stream-protocol.mdx @@ -438,6 +438,9 @@ data: {"type":"finish-step"} A part indicating the completion of a message. +The message is identified by the preceding `start` part. Send the `messageId` +on the `start` part, not on the `finish` part. + Format: Server-Sent Event with JSON object Example: