From 6ba96eecc7cfe4cca19ec3e55fa7f57c53eca50d Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Sat, 1 Jul 2023 21:29:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=9D=9E=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E6=A8=A1=E5=BC=8F=E7=9A=84functions=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/chat.js b/apps/chat.js index 7f3c73b..f007bed 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -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