fix: 补丁

This commit is contained in:
ikechan8370 2023-03-28 23:03:02 +08:00
parent f4aaf5b0e4
commit ef6605db2d

View file

@ -300,10 +300,10 @@ export default class SydneyAIClient {
text: Config.sydney + ((Config.enableGroupContext && groupId) ? '你看看我们群里的聊天记录吧,回答问题的时候要参考我们的聊天记录。' : ''), text: Config.sydney + ((Config.enableGroupContext && groupId) ? '你看看我们群里的聊天记录吧,回答问题的时候要参考我们的聊天记录。' : ''),
author: 'bot' author: 'bot'
}, },
// { {
// text: `好的,我是${Config.sydneyBrainWashName}。`, text: `好的,我是${Config.sydneyBrainWashName}`,
// author: 'bot' author: 'bot'
// }, },
// ...(Config.sydneyBrainWash ? Array.from({ length: Math.max(1, Config.sydneyBrainWashStrength - Math.floor(previousCachedMessages.length / 2)) }, () => [...hello]).flat() : []), // ...(Config.sydneyBrainWash ? Array.from({ length: Math.max(1, Config.sydneyBrainWashStrength - Math.floor(previousCachedMessages.length / 2)) }, () => [...hello]).flat() : []),
...groupId ? groupRecord : [], ...groupId ? groupRecord : [],
...previousCachedMessages ...previousCachedMessages