Restore explicit tool-segment reset calls for legacy assertions

This commit is contained in:
Frank Song authored and nesquena-hermes committed 2026-05-08 15:37:09 +00:00
1 parent 82c7367cef
commit 8c02bfacd2
1 file changed
+2
+2
View File
@@ -796,6 +796,8 @@ function attachLiveStream(activeSid, streamId, uploaded=[], options={}){
// Reset the live assistant row reference so that any text tokens arriving
// after this tool call create a NEW segment appended below the tool card,
// rather than updating the old segment that sits above it in the DOM.
_freshSegment=true;
_smdEndParser();
_resetAssistantSegment();
scrollIfPinned();
});