From 4f4409479414af088c195e75d55262cab7d139cc Mon Sep 17 00:00:00 2001 From: ifeif <36729028+ifeif@users.noreply.github.com> Date: Mon, 15 May 2023 12:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20chat.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/chat.js b/apps/chat.js index 28af7f5..a59fb92 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -1113,7 +1113,7 @@ export class chatgpt extends plugin { for (let quote of quotemessage) { if (quote.imageLink) imgUrls.push(quote.imageLink) } - if (useTTS && response.length <= Config.autoUsePictureThreshold { + if (useTTS && response.length <= Config.autoUsePictureThreshold) { // 缓存数据 this.cacheContent(e, use, response, prompt, quotemessage, mood, chatMessage.suggestedResponses, imgUrls) if (response === 'Thanks for this conversation! I\'ve reached my limit, will you hit “New topic,” please?') {