fix(memory-qmd): streamline compatibility coverage

This commit is contained in:
Vincent Koc
2026-04-06 01:51:23 +01:00
parent f6dbcf4cda
commit 7c9108aaf7
7 changed files with 25 additions and 48 deletions

View File

@@ -232,6 +232,7 @@ describe("noteMemorySearchHealth", () => {
expect(message).toContain("QMD memory backend is configured");
expect(message).toContain("spawn qmd ENOENT");
expect(message).toContain("npm install -g @tobilu/qmd");
expect(message).toContain("bun install -g @tobilu/qmd");
});
it("does not warn when remote apiKey is configured for explicit provider", async () => {

View File

@@ -218,7 +218,7 @@ export async function noteMemorySearchHealth(
qmdCheck.error ? `Probe error: ${qmdCheck.error}` : null,
"",
"Fix (pick one):",
"- Install the supported QMD package: npm install -g @tobilu/qmd",
"- Install the supported QMD package: npm install -g @tobilu/qmd (or bun install -g @tobilu/qmd)",
`- Set an explicit binary path: ${formatCliCommand("openclaw config set memory.qmd.command /absolute/path/to/qmd")}`,
`- Or switch back to builtin memory: ${formatCliCommand("openclaw config set memory.backend builtin")}`,
"",