File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -413,10 +413,10 @@ class ChatAgentSettingContribution extends Disposable implements IWorkbenchContr
413
413
414
414
const expDisabledKey = ChatContextKeys . Editing . agentModeDisallowed . bindTo ( contextKeyService ) ;
415
415
experimentService . getTreatment < boolean > ( 'chatAgentEnabled' ) . then ( enabled => {
416
- if ( enabled ) {
416
+ if ( enabled || enabled === undefined ) {
417
417
this . registerEnablementSetting ( ) ;
418
418
expDisabledKey . set ( false ) ;
419
- } else if ( this . productService . quality === 'stable' || typeof enabled === 'boolean' ) {
419
+ } else {
420
420
// If undefined treatment, on stable, fall back to disabled.
421
421
// Other qualities fall back to enabled.
422
422
this . deregisterSetting ( ) ;
You can’t perform that action at this time.
0 commit comments