openclaw - 💡(How to fix) Fix Active Memory plugin: all embedded sub-agent runs timeout with 0 summaryChars across 5 different providers [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70021Fetched 2026-04-23 07:30:22
View on GitHub
Comments
2
Participants
2
Timeline
2
Reactions
0
Timeline (top)
commented ×2

Error Message

  • No HTTP error codes (4xx/5xx) are logged — the calls simply hang

Code Example

active-memory: agent=auto session=agent:auto:main activeProvider=siliconflow activeModel=deepseek-ai/DeepSeek-V3 done status=timeout elapsedMs=17550 summaryChars=0

---

{
  "subsystem": "agent/embedded",
  "event": "embedded_run_failover_decision",
  "runId": "active-memory-mo9nll9o-6d4da698",
  "stage": "assistant",
  "decision": "surface_error",
  "failoverReason": "timeout",
  "profileFailureReason": "timeout",
  "provider": "siliconflow",
  "model": "deepseek-ai/DeepSeek-V3",
  "sourceProvider": "siliconflow",
  "sourceModel": "deepseek-ai/DeepSeek-V3",
  "fallbackConfigured": true,
  "timedOut": true,
  "aborted": true
}

---

config change detected; evaluating reload (plugins.entries.active-memory.config.model)
config change requires gateway restart (plugins.entries.active-memory.config.model)
received SIGUSR1; restarting
ready (9 plugins: acpx, active-memory, browser, device-pair, memory-core, memory-wiki, phone-control, talk-voice, telegram; 21.7s)
RAW_BUFFERClick to expand / collapse

Describe the Bug

Active Memory plugin (introduced in v2026.4.10) consistently fails with timeout on every single embedded sub-agent run. The memory recall sub-agent never completes — all calls hang until the configured timeout expires, producing 0 characters of summary.

The same provider/model combinations work perfectly in normal chat sessions. This is specific to the Active Memory embedded sub-agent execution path.

Environment

FieldValue
OpenClaw Version2026.4.21 (f788c88)
OSWindows 11 (NT 10.0.26200, x64)
Nodev25.9.0
Gateway ModeLocal, no sandbox

Steps to Reproduce

  1. Enable Active Memory plugin in openclaw.json
  2. Set model to any valid provider/model
  3. Restart gateway
  4. Send a message to an eligible session (webchat direct or Telegram DM)
  5. Active Memory triggers but always times out

Expected Behavior

Active Memory sub-agent should:

  1. Call memory_search to find relevant memory entries
  2. Call memory_get on relevant results
  3. Generate a summary (maxSummaryChars chars)
  4. Inject it into the main assistant's prompt
  5. Complete within timeoutMs (15000ms)

Actual Behavior

Every embedded sub-agent run fails with:

  • stage: "assistant"
  • failoverReason: "timeout"
  • summaryChars: 0
  • Elapsed time: 15s to 95s (config timeoutMs=15000 but actual wall time is much longer)
  • No memory search or get tool calls are ever completed

Providers/Models Tested (All Fail)

#ProviderModelTimeout (elapsed)Result
1alibailiankimi-k2.547-95stimeout
2alibailianqwen3.5-plus65stimeout
3alibailianqwen3-coder-plus38-46stimeout
4nvidiadeepseek-ai/deepseek-v3.215-67stimeout
5siliconflowdeepseek-ai/DeepSeek-V317-60stimeout

All five providers/models work perfectly in normal chat sessions. This is specific to the Active Memory embedded sub-agent execution path.

Log Evidence

Sample log entry (siliconflow/DeepSeek-V3):

active-memory: agent=auto session=agent:auto:main activeProvider=siliconflow activeModel=deepseek-ai/DeepSeek-V3 done status=timeout elapsedMs=17550 summaryChars=0

Failover decision log:

{
  "subsystem": "agent/embedded",
  "event": "embedded_run_failover_decision",
  "runId": "active-memory-mo9nll9o-6d4da698",
  "stage": "assistant",
  "decision": "surface_error",
  "failoverReason": "timeout",
  "profileFailureReason": "timeout",
  "provider": "siliconflow",
  "model": "deepseek-ai/DeepSeek-V3",
  "sourceProvider": "siliconflow",
  "sourceModel": "deepseek-ai/DeepSeek-V3",
  "fallbackConfigured": true,
  "timedOut": true,
  "aborted": true
}

Config change + restart log:

config change detected; evaluating reload (plugins.entries.active-memory.config.model)
config change requires gateway restart (plugins.entries.active-memory.config.model)
received SIGUSR1; restarting
ready (9 plugins: acpx, active-memory, browser, device-pair, memory-core, memory-wiki, phone-control, talk-voice, telegram; 21.7s)

Additional Context

  • memorySearch (vector embedding via siliconflow BAAI/bge-m3) works fine — 16 agents indexed, ~107 MB
  • Normal chat with all tested providers works fine
  • Dreaming (memory-core plugin) works fine on schedule
  • Only Active Memory's embedded sub-agent fails
  • The actual wall-clock timeout far exceeds the configured timeoutMs: 15000 (up to 95 seconds observed), suggesting the timeout enforcement may also be buggy
  • No HTTP error codes (4xx/5xx) are logged — the calls simply hang
  • This occurs on both webchat (direct) and Telegram DM sessions
  • The timeoutMs config value is set to 15000 but actual elapsed times range from 15821ms to 95436ms

extent analysis

TL;DR

The Active Memory plugin's embedded sub-agent is likely experiencing a timeout issue due to a problem with the memory_search or memory_get calls, which are not completing within the configured timeout period.

Guidance

  • Investigate the memory_search and memory_get calls to determine why they are not completing within the expected timeframe.
  • Verify that the timeoutMs config value is being enforced correctly, as the actual elapsed times are exceeding the configured value.
  • Check the logs for any errors or warnings related to the memory_search or memory_get calls that may indicate the cause of the timeout.
  • Consider increasing the timeoutMs config value to see if it resolves the issue, but also investigate why the calls are taking longer than expected.

Example

No code snippet is provided as the issue is more related to configuration and timeout settings.

Notes

The issue seems to be specific to the Active Memory embedded sub-agent execution path, and the same providers/models work perfectly in normal chat sessions. The actual wall-clock timeout far exceeds the configured timeoutMs, suggesting a potential bug in the timeout enforcement.

Recommendation

Apply a workaround by increasing the timeoutMs config value to a higher value (e.g., 30000) to see if it resolves the issue, while also investigating the root cause of the timeout.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Active Memory plugin: all embedded sub-agent runs timeout with 0 summaryChars across 5 different providers [2 comments, 2 participants]