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

@@ -579,7 +579,7 @@ const ChatPanel: FC = observer(() => {
penalty_decay: commonStore.chatParams.penaltyDecay === defaultPenaltyDecay ? undefined : commonStore.chatParams.penaltyDecay,
user_name: commonStore.activePreset?.userName || undefined,
assistant_name: commonStore.activePreset?.assistantName || undefined,
presystem: commonStore.activePreset?.presystem && undefined
presystem: commonStore.activePreset?.presystem || undefined
}),
signal: chatSseController?.signal,
onmessage(e) {