From e27ff2bd2b640e7afd50f4156447e66368fe7749 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Sun, 10 Mar 2024 17:28:55 +0800 Subject: [PATCH] fix: disable picture mode under md mode --- apps/chat.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/chat.js b/apps/chat.js index 57273f3..f2cf295 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -1419,8 +1419,7 @@ export class chatgpt extends plugin { } else { await this.reply('合成语音发生错误~') } - } else if (userSetting.usePicture || (Config.autoUsePicture && response.length > Config.autoUsePictureThreshold)) { - // todo use next api of chatgpt to complete incomplete respoonse + } else if (userSetting.usePicture || (!Config.enableMd && Config.autoUsePicture && response.length > Config.autoUsePictureThreshold)) { try { await this.renderImage(e, use, response, prompt, quotemessage, mood, chatMessage.suggestedResponses, imgUrls) } catch (err) {