mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
last-in-context indicator ignores system messages
This commit is contained in:
@ -1727,7 +1727,7 @@ async function Generate(type, automatic_trigger, force_name2) {
|
||||
$("#chat").children().removeClass('lastInContext');
|
||||
console.log(arrMes.length);
|
||||
|
||||
$(`#chat .mes:nth-last-child(${arrMes.length})`).addClass('lastInContext');
|
||||
$(`#chat .mes:nth-last-child(${arrMes.length} of :not([is_system="true"])`).addClass('lastInContext');
|
||||
break;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user