From adc08177311a7bf71a59af9785bfdb581ed63d5f Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Fri, 16 Jun 2023 19:48:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=8A=E9=9A=8F=E6=9C=BA=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=B6=88=E6=81=AF=E5=8A=A0=E5=9B=9E=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chat.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/chat.js b/apps/chat.js index 12424d6..13ba2d3 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -1814,10 +1814,10 @@ export class chatgpt extends plugin { timeoutMs: 120000 // systemMessage: promptPrefix } - // if (Math.floor(Math.random() * 100) < 5) { - // // 小概率再次发送系统消息 - // option.systemMessage = promptPrefix - // } + if (Math.floor(Math.random() * 100) < 5) { + // 小概率再次发送系统消息 + option.systemMessage = promptPrefix + } if (conversation) { option = Object.assign(option, conversation) }