fix: remove 垃圾代码

This commit is contained in:
ikechan8370 2023-06-02 19:39:04 +08:00
parent 5c7d85efd0
commit a46d6d850b

View file

@ -1843,10 +1843,10 @@ export class chatgpt extends plugin {
timeoutMs: 120000 timeoutMs: 120000
// systemMessage: promptPrefix // systemMessage: promptPrefix
} }
if (Math.floor(Math.random() * 100) < 5) { // if (Math.floor(Math.random() * 100) < 5) {
// 小概率再次发送系统消息 // // 小概率再次发送系统消息
option.systemMessage = promptPrefix // option.systemMessage = promptPrefix
} // }
if (conversation) { if (conversation) {
option = Object.assign(option, conversation) option = Object.assign(option, conversation)
} }