change the default value of presystem to false

This commit is contained in:
josc146
2024-04-30 22:30:06 +08:00
parent 38b33a7030
commit aae7cfe1a2
3 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ const defaultPreset: Preset = {
stop: '',
injectStart: '',
injectEnd: '',
presystem: true,
presystem: false,
userName: '',
assistantName: ''
};
@@ -275,7 +275,7 @@ const ChatPresetEditor: FC<{
<Labeled flex spaceBetween label={t('Insert default system prompt at the beginning')}
desc={t('Inside the model, there is a default prompt to improve the model\'s handling of common issues, but it may degrade the role-playing effect. You can disable this option to achieve a better role-playing effect.')}
content={
<Switch checked={editingPreset.presystem === undefined ? true : editingPreset.presystem}
<Switch checked={editingPreset.presystem === undefined ? false : editingPreset.presystem}
onChange={(e, data) => {
setEditingPreset({
presystem: data.checked