Update src/systems/integration/sillytavern.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -306,7 +306,7 @@ export async function onMessageReceived(data) {
|
|||||||
// When auto-update is disabled,no tracker API call will run for this message.
|
// When auto-update is disabled,no tracker API call will run for this message.
|
||||||
// Inherit the prior assistant message's tracker data into this swipe slot so that
|
// Inherit the prior assistant message's tracker data into this swipe slot so that
|
||||||
// commitTrackerDataFromPriorMessage can find a valid state next turn instead of nulling everything
|
// commitTrackerDataFromPriorMessage can find a valid state next turn instead of nulling everything
|
||||||
if (!extensionSettings.autoUpdate || !isAwaitingNewMessage) {
|
if (!extensionSettings.autoUpdate && isAwaitingNewMessage) {
|
||||||
inheritSwipeDataFromPriorMessage(lastMessage, chat.length - 1);
|
inheritSwipeDataFromPriorMessage(lastMessage, chat.length - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user