[fix] removed old argmuents
This commit is contained in:
@@ -125,20 +125,13 @@ export async function sendChat(chatProcessIndex = -1):Promise<boolean> {
|
||||
})
|
||||
}
|
||||
|
||||
if(currentChat.note !== ''){
|
||||
if(currentChat.note){
|
||||
unformated.authorNote.push({
|
||||
role: 'system',
|
||||
content: replacePlaceholders(currentChat.note, currentChar.name)
|
||||
})
|
||||
}
|
||||
|
||||
if(currentChar.postHistoryInstructions !== ''){
|
||||
unformated.authorNote.push({
|
||||
role: 'system',
|
||||
content: replacePlaceholders(currentChar.postHistoryInstructions, currentChar.name)
|
||||
})
|
||||
}
|
||||
|
||||
{
|
||||
let description = replacePlaceholders((db.promptPreprocess ? db.descriptionPrefix: '') + currentChar.desc, currentChar.name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user