From 705c8a2977335ce726122be5512e5f24948d004d Mon Sep 17 00:00:00 2001 From: Josh Spicer <23246594+joshspicer@users.noreply.github.com> Date: Mon, 20 Oct 2025 14:33:24 -0700 Subject: [PATCH] Never show _getGenerateInstructionsMessage when locked to a coding agent (#272349) do not show _getGenerateInstructionsMessage when locked to a coding agent --- src/vs/workbench/contrib/chat/browser/chatWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/chat/browser/chatWidget.ts b/src/vs/workbench/contrib/chat/browser/chatWidget.ts index 8c5a850b691..803fd905064 100644 --- a/src/vs/workbench/contrib/chat/browser/chatWidget.ts +++ b/src/vs/workbench/contrib/chat/browser/chatWidget.ts @@ -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()) {