kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Merge pull request #425 from hyln9/patch-1
commit
15cfd10a59
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue