v1.5.8 embedding config not working - falls back to FTS5 despite correct config
Problem
Embedding 配置正确(config.embedding)但插件仍回退到 FTS5 模式,日志显示:
Environment
- OpenClaw: 2026.4.8
- graph-memory: v1.5.8 (installed via npm)
- Node.js: 22
Config (openclaw.json)
{
"plugins": {
"slots": {
"contextEngine": "graph-memory"
},
"entries": {
"graph-memory": {
"enabled": true,
"config": {
"embedding": {
"apiKey": "sk-...", // dashscope key
"baseURL": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"model": "text-embedding-v4",
"dimensions": 1024
}
}
}
}
}
}
Expected behavior
Log should show: [graph-memory] vector search ready
Actual behavior
Log shows: [graph-memory] FTS5 search mode (配置 embedding 可启用语义搜索)
Investigation
- The same API key works fine with memory-tdai (which also uses dashscope text-embedding-v4)
- Config structure matches README exactly
- Plugin reads config via:
const raw = api.pluginConfig(line 131 of index.ts), soconfig.embeddingfrom openclaw.json should becomecfg.embeddinginside the plugin - The probe fails silently (catch block only logs if GM_DEBUG is set)
Question
Is there a way to get more verbose logging from the embedding probe? Or is there a known issue with how OpenClaw passes pluginConfig to plugins in v2026.4.x?
+1,我这里也是。配置了embedding模型,但是还是回退回FTS5,我是openclaw4.8版本,我的embedding模型是能够成功返回向量的
正式安装:按 GitHub 最新源码走
README 的源码安装步骤是下面这一套,你可以直接照抄。
cd ~ mkdir -p src cd src
git clone https://github.com/adoresever/graph-memory.git cd graph-memory
记一下当前安装的 commit,方便以后回滚 git rev-parse HEAD
npm install
仓库 README 建议跑测试验证 npx vitest run
用本地源码安装到 OpenClaw pnpm openclaw plugins install .
Plugin "graph-memory" installation blocked: code safety scan failed (Error: manifest dependency scan exceeded max directories (10000) under /home/openclaw/src/graph-memory). Run "openclaw security audit --deep" for details. Also not a valid hook pack: Error: package.json missing openclaw.hooks
持续关注此问题