fix(recall): keep focus entities from recent messages only
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user