mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 17:22:38 +02:00
chat: fix mixed-decision HITL crash and fold resumed assistant messages into the interrupted bubble.
This commit is contained in:
parent
2e132513be
commit
932bf22a34
6 changed files with 208 additions and 40 deletions
|
|
@ -81,8 +81,8 @@ interface ToolCallSlim {
|
|||
* During the live-resume window the in-memory message holds BOTH the
|
||||
* OLD interrupt-frame parts AND the freshly-streamed resume parts in
|
||||
* a new ``task`` scope. Without this filter we'd render both until
|
||||
* the next reload (where ``filterSupersededAbortedMessages`` drops
|
||||
* the OLD row upstream).
|
||||
* the next reload (where ``reconcileInterruptedAssistantMessages``
|
||||
* folds the OLD row into the resume row upstream).
|
||||
*
|
||||
* A tool-call is "interrupt-affected" when it either carries
|
||||
* ``__interrupt__`` directly or sits in a span that contains one. An
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue