openclaw - 💡(How to fix) Fix [Bug] LCM plugin shows '(unconfigured)' briefly during startup [2 comments, 3 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#62131Fetched 2026-04-08 03:08:35
View on GitHub
Comments
2
Participants
3
Timeline
3
Reactions
0
Timeline (top)
commented ×2cross-referenced ×1

Code Example

[lcm] Plugin loaded (enabled=true, db=/Users/yuanjin/.openclaw/lcm.db, threshold=0.75)
[lcm] Compaction summarization model: (unconfigured)

---

2026-04-06T21:13:18.684Z info plugins {"subsystem":"plugins"} [lcm] Plugin loaded (enabled=true, db=/Users/yuanjin/.openclaw/lcm.db, threshold=0.75)
2026-04-06T21:13:18.696Z info plugins {"subsystem":"plugins"} [lcm] Compaction summarization model: minimax/MiniMax-M2.7 (override)
RAW_BUFFERClick to expand / collapse

Bug Description

LCM plugin incorrectly displays "Compaction summarization model: (unconfigured)" during gateway restart, even though the summarization model is properly configured in lossless-claw.

Steps to Reproduce

  1. Execute `openclaw restart`
  2. Check logs with `openclaw logs`

Actual Behavior

Log shows:

[lcm] Plugin loaded (enabled=true, db=/Users/yuanjin/.openclaw/lcm.db, threshold=0.75)
[lcm] Compaction summarization model: (unconfigured)

Expected Behavior

The plugin should either:

  1. Not show the "(unconfigured)" message at all if the model is configured, OR
  2. Show the correct model immediately without the misleading "(unconfigured)" message

Environment

  • Gateway: 2026.4.5
  • CLI: 2026.3.31
  • macOS 26.5
  • lossless-claw.config.summaryModel: minimax/MiniMax-M2.7

Log Evidence

2026-04-06T21:13:18.684Z info plugins {"subsystem":"plugins"} [lcm] Plugin loaded (enabled=true, db=/Users/yuanjin/.openclaw/lcm.db, threshold=0.75)
2026-04-06T21:13:18.696Z info plugins {"subsystem":"plugins"} [lcm] Compaction summarization model: minimax/MiniMax-M2.7 (override)

Note: The override appears ~12ms after the initial "(unconfigured)" message, indicating a race condition where the LCM plugin announces unconfigured before reading the external config.

Suggested Fix

The LCM plugin should read the lossless-claw summaryModel config BEFORE announcing its status, or should not show "(unconfigured)" in the startup log if a valid override exists.

extent analysis

TL;DR

The LCM plugin should be modified to read the lossless-claw summaryModel config before announcing its status to avoid displaying "(unconfigured)" when a valid override exists.

Guidance

  • Review the LCM plugin's initialization sequence to ensure it reads the external configuration before logging its status.
  • Consider adding a delay or a synchronization mechanism to ensure the plugin has read the configuration before announcing its status.
  • Verify the fix by checking the logs after restarting the gateway with the updated plugin.
  • Test the plugin with different configuration scenarios to ensure it correctly handles various summarization models.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

The suggested fix assumes that the issue is caused by a race condition between the plugin's initialization and the reading of the external configuration. The actual implementation details may vary depending on the plugin's codebase.

Recommendation

Apply a workaround by modifying the LCM plugin to read the lossless-claw summaryModel config before announcing its status, as this approach directly addresses the identified race condition and should resolve the issue.

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