mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
This commit is contained in:
parent
3574756bf4
commit
1a2cc56282
|
@ -261,6 +261,7 @@ export class TerminalChatController extends Disposable implements ITerminalContr
|
||||||
throw new Error('Could not start chat session');
|
throw new Error('Could not start chat session');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this._messages.fire(Message.ACCEPT_INPUT);
|
||||||
const model = this._model.value;
|
const model = this._model.value;
|
||||||
|
|
||||||
this._lastInput = this._chatWidget?.value?.input();
|
this._lastInput = this._chatWidget?.value?.input();
|
||||||
|
@ -326,7 +327,6 @@ export class TerminalChatController extends Disposable implements ITerminalContr
|
||||||
this._chatWidget?.value.inlineChatWidget.updateChatMessage({ message: new MarkdownString(responseContent), requestId: this._currentRequest.id, providerId: 'terminal' }, false, containsCode);
|
this._chatWidget?.value.inlineChatWidget.updateChatMessage({ message: new MarkdownString(responseContent), requestId: this._currentRequest.id, providerId: 'terminal' }, false, containsCode);
|
||||||
this._responseContainsCodeBlockContextKey.set(containsCode);
|
this._responseContainsCodeBlockContextKey.set(containsCode);
|
||||||
this._chatWidget?.value.inlineChatWidget.updateToolbar(true);
|
this._chatWidget?.value.inlineChatWidget.updateToolbar(true);
|
||||||
this._messages.fire(Message.ACCEPT_INPUT);
|
|
||||||
}
|
}
|
||||||
const supportIssueReporting = this._currentRequest?.response?.agent?.metadata?.supportIssueReporting;
|
const supportIssueReporting = this._currentRequest?.response?.agent?.metadata?.supportIssueReporting;
|
||||||
if (supportIssueReporting !== undefined) {
|
if (supportIssueReporting !== undefined) {
|
||||||
|
|
Loading…
Reference in a new issue