From c00b6d85d2b39f438533d09c7e3d5fd5a70a55e1 Mon Sep 17 00:00:00 2001 From: K2Lin <77517478+K2Lin-Daniel@users.noreply.github.com> Date: Mon, 5 Jun 2023 03:36:13 +0000 Subject: [PATCH] Fix Chat reset (#461) --- apps/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/chat.js b/apps/chat.js index 53fe0d0..81009bf 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -1099,7 +1099,7 @@ export class chatgpt extends plugin { if (useTTS) { // 缓存数据 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?') { + if (response === 'Sorry, I think we need to move on! Click “New topic” to chat about something else.') { this.reply('当前对话超过上限,已重置对话', false, { at: true }) await redis.del(`CHATGPT:CONVERSATIONS_BING:${e.sender.user_id}`) return false