fix vector boundary update after full vector rebuild

This commit is contained in:
2026-02-15 00:55:10 +08:00
parent 5dd1d6b50b
commit c5437cc0da

View File

@@ -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();