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 @@ -122,8 +122,8 @@ export class LanguageModelToolsService extends Disposable implements ILanguageMo
122122
123123 // Clear out warning accepted state if the setting is disabled
124124 this . _register ( Event . runAndSubscribe ( this . _configurationService . onDidChangeConfiguration , e => {
125- if ( ! e || e . affectsConfiguration ( AutoApproveStorageKeys . GlobalAutoApproveOptIn ) ) {
126- if ( this . _configurationService . getValue ( AutoApproveStorageKeys . GlobalAutoApproveOptIn ) !== true ) {
125+ if ( ! e || e . affectsConfiguration ( ChatConfiguration . GlobalAutoApprove ) ) {
126+ if ( this . _configurationService . getValue ( ChatConfiguration . GlobalAutoApprove ) !== true ) {
127127 this . _storageService . remove ( AutoApproveStorageKeys . GlobalAutoApproveOptIn , StorageScope . APPLICATION ) ;
128128 }
129129 }
You can’t perform that action at this time.
0 commit comments