refactor: carry executionId on user SSE events

This commit is contained in:
bryan
2026-04-20 12:44:56 -07:00
parent 199c3a235e
commit b762020793
+3
View File
@@ -156,6 +156,9 @@ export function sseEventToChatMessage(
type: "user",
thread,
createdAt,
// Carrying execution_id here lets the optimistic-message reconciler
// distinguish server-echoed user bubbles from still-unflushed ones.
executionId: event.execution_id || undefined,
streamId: event.stream_id || undefined,
};
}