Stijnus commited on
Commit
db5f30e
·
1 Parent(s): 294adfd

Update settings.ts

Browse files
Files changed (1) hide show
  1. app/lib/stores/settings.ts +4 -4
app/lib/stores/settings.ts CHANGED
@@ -174,12 +174,12 @@ const getInitialSettings = () => {
174
  };
175
 
176
  return {
177
- latestBranch: getStoredBoolean(SETTINGS_KEYS.LATEST_BRANCH, false),
178
- autoSelectTemplate: getStoredBoolean(SETTINGS_KEYS.AUTO_SELECT_TEMPLATE, false),
179
- contextOptimization: getStoredBoolean(SETTINGS_KEYS.CONTEXT_OPTIMIZATION, false),
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) || 'default' : 'default',
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
  };