We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e96e893 commit 1ca1119Copy full SHA for 1ca1119
src/vs/workbench/contrib/chat/browser/chat.contribution.ts
@@ -413,7 +413,7 @@ class ChatAgentSettingContribution extends Disposable implements IWorkbenchContr
413
414
const expDisabledKey = ChatContextKeys.Editing.agentModeDisallowed.bindTo(contextKeyService);
415
experimentService.getTreatment<boolean>('chatAgentEnabled').then(enabled => {
416
- if (enabled || enabled === undefined) {
+ if (enabled || typeof enabled !== 'boolean') {
417
// If enabled, or experiments not available, fall back to registering the setting
418
this.registerEnablementSetting();
419
expDisabledKey.set(false);
0 commit comments