fix(recall): keep focus entities from recent messages only

This commit is contained in:
2026-02-11 17:35:23 +08:00
parent 816196a710
commit ca117b334f
2 changed files with 3 additions and 33 deletions

View File

@@ -1047,7 +1047,6 @@ export async function recallMemory(allEvents, vectorConfig, options = {}) {
refineQueryBundle(bundle, anchorHits_v0, eventHits_v0);
metrics.query.refineTime = Math.round(performance.now() - T_Refine_Start);
metrics.anchor.focusEntities = bundle.focusEntities;
// 更新 v1 长度指标
if (metrics.query?.lengths && bundle.hintsSegment) {