Update to fix TTS in group chat

Update logic to allow TTS to continue for each speaker in group chat.
This commit is contained in:
synexo
2023-05-12 22:17:31 -04:00
parent 039fd8d6c9
commit 531414df0d
2 changed files with 2 additions and 4 deletions

View File

@@ -48,10 +48,8 @@ async function moduleWorker() {
return;
}
// Chat/character/group changed
// Chat changed
if (
(context.groupId && lastGroupId !== context.groupId) ||
context.characterId !== lastCharacterId ||
context.chatId !== lastChatId
) {
currentMessageNumber = context.chat.length ? context.chat.length : 0

File diff suppressed because one or more lines are too long