Skip to content

Commit

Permalink
perf: 默认 systemMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanzhaoyu committed Mar 31, 2023
1 parent 40fa028 commit b241240
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/store/modules/settings/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
}
}

Expand Down

0 comments on commit b241240

Please sign in to comment.