Enable switching preview features on/off without restart (#13515)

This commit is contained in:
Adib234
2025-11-20 11:00:16 -08:00
committed by GitHub
parent d1e35f8660
commit ade9dfeebb
6 changed files with 11 additions and 4 deletions

View File

@@ -337,7 +337,7 @@ describe('SettingsSchema', () => {
).toBe(false);
expect(
getSettingsSchema().general.properties.previewFeatures.requiresRestart,
).toBe(true);
).toBe(false);
expect(
getSettingsSchema().general.properties.previewFeatures.showInDialog,
).toBe(true);

View File

@@ -164,7 +164,7 @@ const SETTINGS_SCHEMA = {
type: 'boolean',
label: 'Preview Features (e.g., models)',
category: 'General',
requiresRestart: true,
requiresRestart: false,
default: false,
description: 'Enable preview features (e.g., preview models).',
showInDialog: true,