diff --git a/src/chatgpt-api.ts b/src/chatgpt-api.ts index f30b0b4..3768695 100644 --- a/src/chatgpt-api.ts +++ b/src/chatgpt-api.ts @@ -78,7 +78,7 @@ export class ChatGPTAPI { if (this._systemMessage === undefined) { const currentDate = new Date().toISOString().split('T')[0] - this._systemMessage = `You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possiboe.\nCurrent date: ${currentDate}\n` + this._systemMessage = `You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible.\nKnowledge cutoff: 2021-09-01\nCurrent date: ${currentDate}` } this._maxModelTokens = maxModelTokens