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