Skip to content

Commit c33745f

Browse files
authored
feat: render progress in chat editing widget while response is streaming (microsoft#230456)
1 parent 1b1d5d6 commit c33745f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/chatInputPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
894894
return;
895895
}
896896

897-
if (!this._chatEditsProgress && chatEditingSession.state.get() === ChatEditingSessionState.StreamingEdits) {
897+
if (!this._chatEditsProgress && (chatEditingSession.state.get() === ChatEditingSessionState.StreamingEdits || chatWidget?.viewModel?.requestInProgress)) {
898898
this._chatEditsProgress = new ProgressBar(innerContainer);
899899
this._chatEditsProgress.infinite().show(500);
900900
}

0 commit comments

Comments
 (0)