fix(tui): drop unnecessary comments from watchdog dismiss helpers

This commit is contained in:
Dallin Romney 2026-05-17 21:21:20 -07:00
parent 97e4e18cb9
commit 18fa9d1955
2 changed files with 0 additions and 6 deletions

View file

@ -109,9 +109,6 @@ export class ChatLog extends Container {
this.append(this.createSystemMessage(text));
}
// Tag a system notice with a runId so a later chat event for the same run
// can dismiss it. Used by the streaming watchdog so the "taking longer than
// expected" notice goes away if the response actually arrives afterwards.
addPendingSystem(runId: string, text: string) {
const existing = this.pendingSystemNotices.get(runId);
if (existing) {

View file

@ -393,9 +393,6 @@ export function createEventHandlers(context: EventHandlerContext) {
if (reconnectPendingRunId === evt.runId) {
reconnectPendingRunId = null;
}
// Any chat event for a run that previously tripped the streaming watchdog
// is proof the response is no longer stuck — drop the stale notice so it
// doesn't sit alongside the recovered content.
chatLog.dismissPendingSystem(evt.runId);
noteSessionRun(evt.runId);
if (!state.activeChatRunId && !isLocalBtwRunId?.(evt.runId)) {