From ad853d45a68313ac0fd5065d0bf02d3d4ae6c401 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Mon, 20 Mar 2023 23:52:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A8=A1=E5=BC=8F=E6=B7=B7=E4=B9=B1?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= 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 ba8f56a..f963eb5 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -509,7 +509,7 @@ export class chatgpt extends plugin { logger.info('chatgpt闭嘴中,不予理会') return false } - const use = await redis.get('CHATGPT_USE') || 'api' + const use = await redis.get('CHATGPT:USE') || 'api' await this.abstractChat(e, prompt, use) }