From ef6605db2d9b00009e73c8679196c2f40422678b Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Tue, 28 Mar 2023 23:03:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E4=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/SydneyAIClient.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/SydneyAIClient.js b/utils/SydneyAIClient.js index 1175fea..0817367 100644 --- a/utils/SydneyAIClient.js +++ b/utils/SydneyAIClient.js @@ -300,10 +300,10 @@ export default class SydneyAIClient { text: Config.sydney + ((Config.enableGroupContext && groupId) ? '你看看我们群里的聊天记录吧,回答问题的时候要参考我们的聊天记录。' : ''), author: 'bot' }, - // { - // text: `好的,我是${Config.sydneyBrainWashName}。`, - // author: 'bot' - // }, + { + text: `好的,我是${Config.sydneyBrainWashName}。`, + author: 'bot' + }, // ...(Config.sydneyBrainWash ? Array.from({ length: Math.max(1, Config.sydneyBrainWashStrength - Math.floor(previousCachedMessages.length / 2)) }, () => [...hello]).flat() : []), ...groupId ? groupRecord : [], ...previousCachedMessages