fix: 修复非智能模式的functions报错

This commit is contained in:
ikechan8370 2023-07-01 21:29:48 +08:00
parent dd249615e4
commit 6ba96eecc7

View file

@ -1867,7 +1867,8 @@ export class chatgpt extends plugin {
}
this.chatGPTApi = new ChatGPTAPI(opts)
let option = {
timeoutMs: 120000
timeoutMs: 120000,
completionParams
// systemMessage: promptPrefix
}
option.systemMessage = system