Skip to content

Commit db3240b

Browse files
authored
Remove obsolete context key (microsoft#252887)
1 parent 267e6d1 commit db3240b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/vs/workbench/contrib/chat/browser/chatSetup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ const defaultChat = {
9999

100100
const ToolsAgentContextKey = ContextKeyExpr.and(
101101
ContextKeyExpr.equals(`config.${ChatConfiguration.AgentEnabled}`, true),
102-
ChatContextKeys.Editing.agentModeDisallowed.negate(),
103102
ContextKeyExpr.not(`previewFeaturesDisabled`) // Set by extension
104103
);
105104

src/vs/workbench/contrib/chat/common/chatContextKeys.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ export namespace ChatContextKeys {
7979
export const completionsQuotaExceeded = new RawContextKey<boolean>('completionsQuotaExceeded', false, true);
8080

8181
export const Editing = {
82-
agentModeDisallowed: new RawContextKey<boolean>('chatAgentModeDisallowed', undefined, { type: 'boolean', description: localize('chatAgentModeDisallowed', "True when agent mode is not allowed.") }), // experiment-driven disablement
8382
hasToolConfirmation: new RawContextKey<boolean>('chatHasToolConfirmation', false, { type: 'boolean', description: localize('chatEditingHasToolConfirmation', "True when a tool confirmation is present.") }),
8483
};
8584

0 commit comments

Comments
 (0)