fix: clear external streaming bubbles
This commit is contained in:
@@ -325,6 +325,8 @@ public final class ClawdisChatViewModel {
|
||||
// Keep multiple clients in sync: if another client finishes a run for our session, refresh history.
|
||||
switch chat.state {
|
||||
case "final", "aborted", "error":
|
||||
self.streamingAssistantText = nil
|
||||
self.pendingToolCallsById = [:]
|
||||
Task { await self.refreshHistoryAfterRun() }
|
||||
default:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user