Update src/systems/integration/sillytavern.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Spicy Marinara
2026-02-25 23:57:09 +01:00
committed by GitHub
parent 76beb5dff4
commit ab848828e7
+1 -1
View File
@@ -306,7 +306,7 @@ export async function onMessageReceived(data) {
// 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
// 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);
}
}