We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc4e15 commit 2af438eCopy full SHA for 2af438e
src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.ts
@@ -383,7 +383,7 @@ export class TerminalChatController extends Disposable implements ITerminalContr
383
}
384
const widget = await this._chatWidgetService.revealViewForProvider(providerInfo.id);
385
const request = this._currentRequest;
386
- if (!widget || !request) {
+ if (!widget || !request?.response) {
387
return;
388
389
this._chatService.addCompleteRequest(widget!.viewModel!.sessionId,
0 commit comments