+
+ voidSettingsService.setGlobalSetting('autoAcceptLLMChanges', newVal)}
+ />
+ Auto-accept LLM changes
+
+
diff --git a/src/vs/workbench/contrib/void/common/voidSettingsService.ts b/src/vs/workbench/contrib/void/common/voidSettingsService.ts
index dbd3cf3f..3e0c2295 100644
--- a/src/vs/workbench/contrib/void/common/voidSettingsService.ts
+++ b/src/vs/workbench/contrib/void/common/voidSettingsService.ts
@@ -289,6 +289,9 @@ class VoidSettingsService extends Disposable implements IVoidSettingsService {
}
// add disableSystemMessage feature
if (readS.globalSettings.disableSystemMessage === undefined) readS.globalSettings.disableSystemMessage = false;
+
+ // add autoAcceptLLMChanges feature
+ if (readS.globalSettings.autoAcceptLLMChanges === undefined) readS.globalSettings.autoAcceptLLMChanges = false;
}
catch (e) {
readS = defaultState()
diff --git a/src/vs/workbench/contrib/void/common/voidSettingsTypes.ts b/src/vs/workbench/contrib/void/common/voidSettingsTypes.ts
index 90ac77eb..549b6534 100644
--- a/src/vs/workbench/contrib/void/common/voidSettingsTypes.ts
+++ b/src/vs/workbench/contrib/void/common/voidSettingsTypes.ts
@@ -454,6 +454,7 @@ export type GlobalSettings = {
includeToolLintErrors: boolean;
isOnboardingComplete: boolean;
disableSystemMessage: boolean;
+ autoAcceptLLMChanges: boolean;
}
export const defaultGlobalSettings: GlobalSettings = {
@@ -469,6 +470,7 @@ export const defaultGlobalSettings: GlobalSettings = {
includeToolLintErrors: true,
isOnboardingComplete: false,
disableSystemMessage: false,
+ autoAcceptLLMChanges: false,
}
export type GlobalSettingName = keyof GlobalSettings