chat: fix mixed-decision HITL crash and fold resumed assistant messages into the interrupted bubble.

This commit is contained in:
CREDO23 2026-05-09 22:54:07 +02:00
parent 2e132513be
commit 932bf22a34
6 changed files with 208 additions and 40 deletions

View file

@ -79,8 +79,8 @@ export interface ContentPartsState {
* the resume stream's first ``start-step`` fires
* ``addStepSeparator`` while rehydrated OLD content already makes
* ``hasContent`` true a divider lands between OLD and NEW
* content with no semantic value (OLD content is filtered by
* ``buildTimeline`` + ``filterSupersededAbortedMessages``,
* content with no semantic value (OLD content is folded by
* ``buildTimeline`` + ``reconcileInterruptedAssistantMessages``,
* persisted state carries no separator, so the line vanishes on
* reload).
*/