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."),