diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 84b74b04c..6e903bf25 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "373e7fc242338aa3643285de2bb2de293585a402", - "syncedAt": "2026-04-28T13:39:02.868Z" + "sha": "ba17b8b728fc05f4aa88ef43ce0313ed82bbc3d4", + "syncedAt": "2026-04-28T13:43:27.901Z" } diff --git a/docs/concepts/active-memory.md b/docs/concepts/active-memory.md index db62ce65e..4e971b735 100644 --- a/docs/concepts/active-memory.md +++ b/docs/concepts/active-memory.md @@ -578,14 +578,14 @@ The most important fields are: Useful tuning fields: -| Key | Type | Meaning | -| ----------------------------- | -------- | ------------------------------------------------------------- | -| `config.maxSummaryChars` | `number` | Maximum total characters allowed in the active-memory summary | -| `config.recentUserTurns` | `number` | Prior user turns to include when `queryMode` is `recent` | -| `config.recentAssistantTurns` | `number` | Prior assistant turns to include when `queryMode` is `recent` | -| `config.recentUserChars` | `number` | Max chars per recent user turn | -| `config.recentAssistantChars` | `number` | Max chars per recent assistant turn | -| `config.cacheTtlMs` | `number` | Cache reuse for repeated identical queries | +| Key | Type | Meaning | +| ----------------------------- | -------- | ---------------------------------------------------------------------------------- | +| `config.maxSummaryChars` | `number` | Maximum total characters allowed in the active-memory summary | +| `config.recentUserTurns` | `number` | Prior user turns to include when `queryMode` is `recent` | +| `config.recentAssistantTurns` | `number` | Prior assistant turns to include when `queryMode` is `recent` | +| `config.recentUserChars` | `number` | Max chars per recent user turn | +| `config.recentAssistantChars` | `number` | Max chars per recent assistant turn | +| `config.cacheTtlMs` | `number` | Cache reuse for repeated identical queries (range: 1000-120000 ms; default: 15000) | ## Recommended setup diff --git a/docs/zh-CN/concepts/active-memory.md b/docs/zh-CN/concepts/active-memory.md index 515017a6b..6aa43df26 100644 --- a/docs/zh-CN/concepts/active-memory.md +++ b/docs/zh-CN/concepts/active-memory.md @@ -623,6 +623,7 @@ Active Memory 基于 `agents.defaults.memorySearch` 下的常规 `memory_search` - 查看 Gateway 网关日志中的 `active-memory: ... start|done`、`memory sync failed (search-bootstrap)` 或提供商嵌入错误。 - 运行 `openclaw memory status --deep`,检查内存搜索后端和索引健康状况。 - 如果你使用 `ollama`,请确认已安装嵌入模型(`ollama list`)。 +