mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
fix(memory-wiki): satisfy CI guard checks
This commit is contained in:
@@ -12,11 +12,15 @@ function createPage(params: {
|
||||
relativePath: params.relativePath,
|
||||
kind: "entity",
|
||||
title: params.title,
|
||||
aliases: [],
|
||||
sourceIds: [],
|
||||
linkTargets: [],
|
||||
claims: [],
|
||||
contradictions: params.contradictions,
|
||||
questions: [],
|
||||
relationships: [],
|
||||
bestUsedFor: [],
|
||||
notEnoughFor: [],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -569,6 +569,7 @@ function scorePageSearchModeBoost(params: {
|
||||
case "raw-claim":
|
||||
return params.matchingClaims.length > 0 ? 42 : 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
function scoreDigestSearchModeBoost(params: {
|
||||
@@ -648,6 +649,7 @@ function scoreDigestSearchModeBoost(params: {
|
||||
case "raw-claim":
|
||||
return params.matchingClaims.length > 0 ? 42 : 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
function buildDigestCandidatePaths(params: {
|
||||
|
||||
Reference in New Issue
Block a user