From 0d1433a1bbd862b628b79b5dd4f2f722f332fa0e Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Fri, 21 Nov 2025 13:43:35 +0100 Subject: [PATCH] 'Configure Tools' button not showing after start (#278761) --- src/vs/workbench/contrib/chat/browser/chatInputPart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/chat/browser/chatInputPart.ts b/src/vs/workbench/contrib/chat/browser/chatInputPart.ts index 7b26251eccd..ebe5adda62a 100644 --- a/src/vs/workbench/contrib/chat/browser/chatInputPart.ts +++ b/src/vs/workbench/contrib/chat/browser/chatInputPart.ts @@ -529,6 +529,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge this._register(this.chatModeService.onDidChangeChatModes(() => this.validateCurrentChatMode())); this._register(autorun(r => { const mode = this._currentModeObservable.read(r); + this.chatModeKindKey.set(mode.kind); const model = mode.model?.read(r); if (model) { this.switchModelByQualifiedName(model); @@ -837,7 +838,6 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge } this._currentModeObservable.set(mode, undefined); - this.chatModeKindKey.set(mode.kind); this._onDidChangeCurrentChatMode.fire(); // Sync to model (mode is now persisted in the model's input state)