Add ability to inject custom files into the prompt (broken ATM)

This commit is contained in:
SillyLossy
2023-05-22 00:56:12 +03:00
parent 0e7289d878
commit a4b2b68620
6 changed files with 84 additions and 6 deletions

View File

@@ -840,7 +840,7 @@ async function getCharacters() {
$("#avatar_url_pole").val(characters[this_chid].avatar);
}
await getGroups();
printCharacters();
await printCharacters();
}
}
@@ -1219,7 +1219,7 @@ function addOneMessage(mes, { type = "normal", insertAfter = null, scroll = true
$(".mes_prompt").hide();
//console.log(itemizedPrompts);
} else {
//console.log('skipping prompt data for User Message');
//console.log('skipping prompt data for User Message');
}
newMessage.find('.avatar img').on('error', function () {