From b8bd3dfec9197dea858364168db7d3e11d2f8d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E8=83=A4=E6=B1=A0?= Date: Fri, 16 Dec 2022 22:55:55 +0800 Subject: [PATCH] fix: incorrect redis set --- apps/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/chat.js b/apps/chat.js index 5d670ad..df8f24d 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -205,7 +205,7 @@ export class chatgpt extends plugin { utime: ctime, num: 0 } - await redis.set(`CHATGPT:CONVERSATIONS:${e.sender.user_id}`, JSON.stringify(previousConversation), { EX: CONVERSATION_PRESERVE_TIME }) + // await redis.set(`CHATGPT:CONVERSATIONS:${e.sender.user_id}`, JSON.stringify(previousConversation), { EX: CONVERSATION_PRESERVE_TIME }) } else { previousConversation = JSON.parse(previousConversation) conversation = {