From 8bd1bf35bbd726fb88baa81d221d7a5986c7cccc Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Wed, 26 Nov 2025 14:52:58 +0100 Subject: [PATCH] agent sessions - remove `hideNewButtonInAgentSessionsView` setting --- .../contrib/chat/browser/agentSessions/agentSessionsView.ts | 4 +--- src/vs/workbench/contrib/chat/browser/chat.contribution.ts | 6 ------ 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.ts b/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.ts index 50a14513e88..2d2ee86458d 100644 --- a/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.ts +++ b/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsView.ts @@ -98,9 +98,7 @@ export class AgentSessionsView extends ViewPane { container.classList.add('agent-sessions-view'); // New Session - if (!this.configurationService.getValue('chat.hideNewButtonInAgentSessionsView')) { - this.createNewSessionButton(container); - } + this.createNewSessionButton(container); // Sessions Control this.createSessionsControl(container); diff --git a/src/vs/workbench/contrib/chat/browser/chat.contribution.ts b/src/vs/workbench/contrib/chat/browser/chat.contribution.ts index 1b41aa91a7e..33f920dc851 100644 --- a/src/vs/workbench/contrib/chat/browser/chat.contribution.ts +++ b/src/vs/workbench/contrib/chat/browser/chat.contribution.ts @@ -786,12 +786,6 @@ configurationRegistry.registerConfiguration({ mode: 'auto' } }, - 'chat.hideNewButtonInAgentSessionsView': { // TODO@bpasero remove me eventually - type: 'boolean', - description: nls.localize('chat.hideNewButtonInAgentSessionsView', "Controls whether the new session button is hidden in the Agent Sessions view."), - default: false, - tags: ['preview'] - }, 'chat.signInWithAlternateScopes': { // TODO@bpasero remove me eventually type: 'boolean', description: nls.localize('chat.signInWithAlternateScopes', "Controls whether sign-in with alternate scopes is used."),