fix(webui): preserve automation source on streamed replies

This commit is contained in:
chengyongru authored and chengyongru committed 2026-07-30 17:57:31 +08:00
1 parent 606ac56e8f
commit bb2f6cf324
7 files changed
+176 -8

No files matched your search

+4
View File
@@ -1185,12 +1185,16 @@ export type InboundEvent =
chat_id: string;
text: string;
stream_id?: string;
/** Lightweight provenance for proactive streamed assistant messages. */
source?: UIMessageSource;
} & InboundTurnMetadata)
| ({
event: "stream_end";
chat_id: string;
stream_id?: string;
text?: string;
/** Lightweight provenance for proactive streamed assistant messages. */
source?: UIMessageSource;
/** This answer segment ended, but the active agent turn will continue. */
resuming?: boolean;
/** The next answer segment continues this same assistant message. */