mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-27 18:52:10 +01:00
This commit is contained in:
@@ -1873,6 +1873,11 @@ export class ChatWidget extends Disposable implements IChatWidget {
|
||||
}
|
||||
// Only show if response wasn't canceled
|
||||
this.renderChatSuggestNextWidget();
|
||||
|
||||
// Mark the session as read when the request completes and the widget is visible
|
||||
if (this.visible && this.viewModel?.sessionResource) {
|
||||
this.agentSessionsService.getSession(this.viewModel.sessionResource)?.setRead(true);
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user