mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Never show _getGenerateInstructionsMessage when locked to a coding agent (#272349)
do not show _getGenerateInstructionsMessage when locked to a coding agent
This commit is contained in:
@@ -1092,7 +1092,7 @@ export class ChatWidget extends Disposable implements IChatWidget {
|
||||
let welcomeContent: IChatViewWelcomeContent;
|
||||
const defaultAgent = this.chatAgentService.getDefaultAgent(this.location, this.input.currentModeKind);
|
||||
let additionalMessage = defaultAgent?.metadata.additionalWelcomeMessage;
|
||||
if (!additionalMessage) {
|
||||
if (!additionalMessage && !this._lockedAgent) {
|
||||
additionalMessage = this._getGenerateInstructionsMessage();
|
||||
}
|
||||
if (this.shouldShowChatSetup()) {
|
||||
|
||||
Reference in New Issue
Block a user