Stijnus
commited on
Commit
·
db5f30e
1
Parent(s):
294adfd
Update settings.ts
Browse files
app/lib/stores/settings.ts
CHANGED
@@ -174,12 +174,12 @@ const getInitialSettings = () => {
|
|
174 |
};
|
175 |
|
176 |
return {
|
177 |
-
latestBranch: getStoredBoolean(SETTINGS_KEYS.LATEST_BRANCH,
|
178 |
-
autoSelectTemplate: getStoredBoolean(SETTINGS_KEYS.AUTO_SELECT_TEMPLATE,
|
179 |
-
contextOptimization: getStoredBoolean(SETTINGS_KEYS.CONTEXT_OPTIMIZATION,
|
180 |
eventLogs: getStoredBoolean(SETTINGS_KEYS.EVENT_LOGS, true),
|
181 |
localModels: getStoredBoolean(SETTINGS_KEYS.LOCAL_MODELS, true),
|
182 |
-
promptId: isBrowser ? localStorage.getItem(SETTINGS_KEYS.PROMPT_ID) || '
|
183 |
developerMode: getStoredBoolean(SETTINGS_KEYS.DEVELOPER_MODE, false),
|
184 |
};
|
185 |
};
|
|
|
174 |
};
|
175 |
|
176 |
return {
|
177 |
+
latestBranch: getStoredBoolean(SETTINGS_KEYS.LATEST_BRANCH, true),
|
178 |
+
autoSelectTemplate: getStoredBoolean(SETTINGS_KEYS.AUTO_SELECT_TEMPLATE, true),
|
179 |
+
contextOptimization: getStoredBoolean(SETTINGS_KEYS.CONTEXT_OPTIMIZATION, true),
|
180 |
eventLogs: getStoredBoolean(SETTINGS_KEYS.EVENT_LOGS, true),
|
181 |
localModels: getStoredBoolean(SETTINGS_KEYS.LOCAL_MODELS, true),
|
182 |
+
promptId: isBrowser ? localStorage.getItem(SETTINGS_KEYS.PROMPT_ID) || 'optimized' : 'optimized',
|
183 |
developerMode: getStoredBoolean(SETTINGS_KEYS.DEVELOPER_MODE, false),
|
184 |
};
|
185 |
};
|