perf: 默认 systemMessage

This commit is contained in:
ChenZhaoYu committed 2023-03-31 13:42:16 +08:00
1 parent 40fa028408
commit b241240fc6
1 file changed
+1 -2
+1 -2
View File
@@ -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.',
}
}