惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
J
Java Code Geeks
量子位
腾讯CDC
C
Check Point Blog
小众软件
小众软件
IT之家
IT之家
I
InfoQ
Hugging Face - Blog
Hugging Face - Blog
Stack Overflow Blog
Stack Overflow Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
GbyAI
GbyAI
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
博客园_首页
S
SegmentFault 最新的问题
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Martin Fowler
Martin Fowler

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(memory): report skipped QMD embedding probe (#93473) ...
TurboTheTurt · 2026-06-16 · via Recent Commits to openclaw:main

File tree

  • extensions/memory-core/src

Original file line numberDiff line numberDiff line change

@@ -884,8 +884,14 @@ export async function runMemoryStatus(opts: MemoryCommandOptions) {

884884

`${label("Dreaming")} ${info(formatDreamingSummary(cfg))}`,

885885

].filter(Boolean) as string[];

886886

if (embeddingProbe) {

887-

const state = embeddingProbe.ok ? "ready" : "unavailable";

888-

const stateColor = embeddingProbe.ok ? theme.success : theme.warn;

887+

const state =

888+

embeddingProbe.ok && embeddingProbe.checked === false

889+

? "skipped"

890+

: embeddingProbe.ok

891+

? "ready"

892+

: "unavailable";

893+

const stateColor =

894+

state === "skipped" ? theme.muted : embeddingProbe.ok ? theme.success : theme.warn;

889895

lines.push(`${label("Embeddings")} ${colorize(rich, stateColor, state)}`);

890896

if (embeddingProbe.error) {

891897

lines.push(`${label("Embeddings error")} ${warn(embeddingProbe.error)}`);

Original file line numberDiff line numberDiff line change

@@ -677,6 +677,42 @@ describe("memory cli", () => {

677677

expect(close).toHaveBeenCalled();

678678

});

679679
680+

it("does not report qmd lexical search mode as embedding unavailable", async () => {

681+

const close = vi.fn(async () => {});

682+

const probeVectorStoreAvailability = vi.fn(async () => true);

683+

const probeVectorAvailability = vi.fn(async () => false);

684+

const probeEmbeddingAvailability = vi.fn(async () => ({ ok: true, checked: false }));

685+

mockManager({

686+

probeVectorStoreAvailability,

687+

probeVectorAvailability,

688+

probeEmbeddingAvailability,

689+

status: () =>

690+

makeMemoryStatus({

691+

backend: "qmd",

692+

provider: "qmd",

693+

model: "qmd",

694+

requestedProvider: "qmd",

695+

vector: {

696+

enabled: false,

697+

semanticAvailable: false,

698+

available: false,

699+

},

700+

}),

701+

close,

702+

});

703+
704+

const log = spyRuntimeLogs(defaultRuntime);

705+

await runMemoryCli(["status", "--deep"]);

706+
707+

expect(probeVectorStoreAvailability).not.toHaveBeenCalled();

708+

expect(probeVectorAvailability).toHaveBeenCalled();

709+

expect(probeEmbeddingAvailability).toHaveBeenCalled();

710+

expectLogged(log, "Vector: disabled");

711+

expectLogged(log, "Embeddings: skipped");

712+

expectNotLogged(log, "Embeddings error:");

713+

expect(close).toHaveBeenCalled();

714+

});

715+
680716

it("prints recall-store audit details during status", async () => {

681717

await withTempWorkspace(async (workspaceDir) => {

682718

await recordShortTermRecalls({

Original file line numberDiff line numberDiff line change

@@ -6062,8 +6062,8 @@ describe("QmdMemoryManager", () => {

60626062
60636063

await expect(manager.probeVectorAvailability()).resolves.toBe(false);

60646064

await expect(manager.probeEmbeddingAvailability()).resolves.toEqual({

6065-

ok: false,

6066-

error: "QMD semantic vectors are unavailable",

6065+

ok: true,

6066+

checked: false,

60676067

});

60686068

expect(spawnMock.mock.calls.length).toBe(baselineCalls);

60696069

expect(manager.status().vector).toEqual({

Original file line numberDiff line numberDiff line change

@@ -1566,6 +1566,9 @@ export class QmdMemoryManager implements MemorySearchManager {

15661566

}

15671567
15681568

async probeEmbeddingAvailability(): Promise<MemoryEmbeddingProbeResult> {

1569+

if (!qmdUsesVectors(this.qmd.searchMode)) {

1570+

return { ok: true, checked: false };

1571+

}

15691572

const ok = await this.probeVectorAvailability();

15701573

return {

15711574

ok,