chore(recall): remove reroll-trace diagnostics after Phase 1 verified

This commit is contained in:
youzini
2026-06-01 06:49:20 +00:00
parent d408e1a1f4
commit 8d0e3e558e
2 changed files with 1 additions and 58 deletions

View File

@@ -611,26 +611,6 @@ export async function onGenerationAfterCommandsController(
return;
}
if (globalThis.__stBmeDebugLoggingEnabled === true) {
const tail = Array.isArray(chat)
? chat.slice(-3).map((m, i) => ({
idx: chat.length - 3 + i,
is_user: Boolean(m?.is_user),
hasRecall: Boolean(m?.extra?.bme_recall),
mes: String(m?.mes || "").slice(0, 40),
}))
: null;
console.warn("[ST-BME][reroll-trace] AFTER_COMMANDS enter", {
type,
generationContextType: generationContext?.type || null,
generationContextKind: generationContext?.kind || null,
recallOptionsSource: recallOptions?.overrideSource || recallOptions?.source || null,
recallOptionsType: recallOptions?.generationType || null,
targetUserMessageIndex: recallOptions?.targetUserMessageIndex ?? null,
chatTail: tail,
});
}
const recallContext = runtime.createGenerationRecallContext({
hookName: "GENERATION_AFTER_COMMANDS",
generationType,