openclaw - 💡(How to fix) Fix feat: Support custom prompt/language for Dreaming (梦境日记)

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…

Fix Action

Workaround

Currently the only workaround is modifying the plugin source code directly, which is not upgrade-friendly.

Code Example

{
  "dreaming": {
    "enabled": true,
    "frequency": "0 1 * * *",
    "timezone": "Asia/Shanghai",
    "summaryPrompt": "用中文写一段简短的梦境日记,风格简洁,不超过三段。"
  }
}
RAW_BUFFERClick to expand / collapse

Feature Request: Support custom prompt / language for Dreaming (梦境日记)

Problem

The memory-core plugin's dreaming feature currently generates dream diary entries with a hardcoded prompt. There is no way to customize the prompt text or change the output language through configuration.

For example, a user wanting dream diary entries written in Chinese has no configuration option to achieve this — the schema rejects any extra fields (additionalProperties: false).

Current Behavior

The dreaming config schema only supports:

  • enabled (boolean)
  • frequency (cron string)
  • model (model override)
  • timezone (string)
  • verboseLogging (boolean)
  • storage / execution / phases (sub-objects)

None of these fields allow specifying a custom prompt or output language.

Expected Behavior

Add a configurable prompt field (e.g., summaryPrompt or diaryPrompt) to the dreaming config, allowing users to:

  1. Change the output language (e.g., Chinese, Japanese, etc.)
  2. Customize the dream diary style (e.g., concise, poetic, structured)
  3. Set length limits (e.g., "no more than three paragraphs")

Example desired config:

{
  "dreaming": {
    "enabled": true,
    "frequency": "0 1 * * *",
    "timezone": "Asia/Shanghai",
    "summaryPrompt": "用中文写一段简短的梦境日记,风格简洁,不超过三段。"
  }
}

Workaround

Currently the only workaround is modifying the plugin source code directly, which is not upgrade-friendly.

Environment

  • OpenClaw version: 2026.5.20
  • Plugin: memory-core (dreaming feature)

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 feat: Support custom prompt/language for Dreaming (梦境日记)