perf: 默认 systemMessage

main
ChenZhaoYu 2 years ago
parent 40fa028408
commit b241240fc6

@ -7,9 +7,8 @@ export interface SettingsState {
}
export function defaultSetting(): SettingsState {
const currentDate = new Date().toISOString().split('T')[0]
return {
systemMessage: `You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible.\nKnowledge cutoff: 2021-09-01\nCurrent date: ${currentDate}`,
systemMessage: 'You are ChatGPT, a large language model trained by OpenAI. Follow the user\'s instructions carefully. Respond using markdown.',
}
}

Loading…
Cancel
Save