diff --git a/src/platform/settings/constants/coreSettings.ts b/src/platform/settings/constants/coreSettings.ts index 916d2e8fa..dbb4a2510 100644 --- a/src/platform/settings/constants/coreSettings.ts +++ b/src/platform/settings/constants/coreSettings.ts @@ -1,4 +1,5 @@ import { LinkMarkerShape, LiteGraph } from '@/lib/litegraph/src/litegraph' +import { isCloud } from '@/platform/distribution/types' import { useSettingStore } from '@/platform/settings/settingStore' import type { SettingParams } from '@/platform/settings/types' import type { ColorPalettes } from '@/schemas/colorPaletteSchema' @@ -18,14 +19,14 @@ export const CORE_SETTINGS: SettingParams[] = [ id: 'Comfy.Memory.AllowManualUnload', name: 'Allow manual unload of models and execution cache via user command', type: 'hidden', - defaultValue: true, + defaultValue: isCloud ? false : true, versionAdded: '1.18.0' }, { id: 'Comfy.Validation.Workflows', name: 'Validate workflows', type: 'boolean', - defaultValue: true + defaultValue: isCloud ? false : true }, { id: 'Comfy.NodeSearchBoxImpl', @@ -281,8 +282,8 @@ export const CORE_SETTINGS: SettingParams[] = [ { id: 'Comfy.Workflow.ShowMissingModelsWarning', name: 'Show missing models warning', - type: 'boolean', - defaultValue: true, + type: isCloud ? 'hidden' : 'boolean', + defaultValue: isCloud ? false : true, experimental: true }, { @@ -388,7 +389,7 @@ export const CORE_SETTINGS: SettingParams[] = [ name: 'Automatically load all model folders', tooltip: 'If true, all folders will load as soon as you open the model library (this may cause delays while it loads). If false, root level model folders will only load once you click on them.', - type: 'boolean', + type: isCloud ? 'hidden' : 'boolean', defaultValue: false }, { @@ -597,7 +598,7 @@ export const CORE_SETTINGS: SettingParams[] = [ tooltip: 'The maximum number of tasks added to the queue at one button click', type: 'number', - defaultValue: 100, + defaultValue: isCloud ? 4 : 100, versionAdded: '1.3.5' }, { @@ -943,7 +944,7 @@ export const CORE_SETTINGS: SettingParams[] = [ id: 'Comfy.Toast.DisableReconnectingToast', name: 'Disable toasts when reconnecting or reconnected', type: 'hidden', - defaultValue: false, + defaultValue: isCloud ? true : false, versionAdded: '1.15.12' }, { @@ -1069,7 +1070,7 @@ export const CORE_SETTINGS: SettingParams[] = [ name: 'Use Asset API for model library', type: 'hidden', tooltip: 'Use new Asset API for model browsing', - defaultValue: false, + defaultValue: isCloud ? true : false, experimental: true } ]