From c5437cc0da10bbec9c9d64611fc89a3586ca6026 Mon Sep 17 00:00:00 2001 From: bielie Date: Sun, 15 Feb 2026 00:55:10 +0800 Subject: [PATCH] fix vector boundary update after full vector rebuild --- modules/story-summary/story-summary.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/story-summary/story-summary.js b/modules/story-summary/story-summary.js index cc257dc..eca1617 100644 --- a/modules/story-summary/story-summary.js +++ b/modules/story-summary/story-summary.js @@ -573,6 +573,9 @@ async function handleGenerateVectors(vectorCfg) { } } + // Full rebuild completed: vector boundary should match latest floor. + await updateMeta(chatId, { lastChunkFloor: chat.length - 1 }); + postToFrame({ type: "VECTOR_GEN_PROGRESS", phase: "ALL", current: -1, total: 0 }); await sendVectorStatsToFrame();