mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Tighten extraction persistence success gating
This commit is contained in:
6
index.js
6
index.js
@@ -6505,7 +6505,11 @@ function updateProcessedHistorySnapshot(chat, lastProcessedAssistantFloor) {
|
||||
|
||||
function shouldAdvanceProcessedHistory(batchStatus) {
|
||||
if (!batchStatus || typeof batchStatus !== "object") return false;
|
||||
return batchStatus?.stages?.core?.outcome === "success";
|
||||
return (
|
||||
batchStatus?.stages?.core?.outcome === "success" &&
|
||||
batchStatus?.stages?.finalize?.outcome === "success" &&
|
||||
batchStatus?.completed === true
|
||||
);
|
||||
}
|
||||
|
||||
function computePostProcessArtifacts(
|
||||
|
||||
Reference in New Issue
Block a user