From 2cdd9d76ea61d01c5aebd8ad079df111c7762f66 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Wed, 27 Sep 2023 14:52:52 +0900 Subject: [PATCH] [fix] addititonalinfo not working --- src/ts/process/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ts/process/index.ts b/src/ts/process/index.ts index 75c9f3f8..99262c91 100644 --- a/src/ts/process/index.ts +++ b/src/ts/process/index.ts @@ -229,6 +229,9 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n const additionalInfo = await additionalInformations(currentChar, currentChat) + if(additionalInfo){ + description += '\n\n' + risuChatParser(additionalInfo, {chara:currentChar}) + } if(currentChar.personality){ description += risuChatParser("\n\nDescription of {{char}}: " + currentChar.personality, {chara: currentChar})