[fix] chat note not working
This commit is contained in:
@@ -120,10 +120,12 @@ export async function sendChat(chatProcessIndex = -1):Promise<boolean> {
|
||||
})
|
||||
}
|
||||
|
||||
if(currentChat.note !== ''){
|
||||
unformated.authorNote.push({
|
||||
role: 'system',
|
||||
content: replacePlaceholders(currentChat.note, currentChar.name)
|
||||
content: replacePlaceholders(currentChar.postHistoryInstructions, currentChat.note)
|
||||
})
|
||||
}
|
||||
|
||||
if(currentChar.postHistoryInstructions !== ''){
|
||||
unformated.authorNote.push({
|
||||
|
||||
Reference in New Issue
Block a user