openclaw - 💡(How to fix) Fix Group chat message_tool_only mode lacks explicit guidance for @ mentions

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

Fix / Workaround

  • 用户 @ bot 后,agent 可能生成了回复内容但没有发到群里
  • 用户以为 bot 没回复,再次追问
  • 日志显示 dispatch complete (replies=0),agent 的回复停留在 session 内部
RAW_BUFFERClick to expand / collapse

messages.groupChat.visibleReplies: "message_tool" 时(当前默认值),群聊回复需要 agent 显式调用 message(action=send) 才能发送到群里。

但 system prompt 的 guidance 不够明确:

  • Messaging section 只说了 generic 的 "Reply in current session → private by default; use message(action=send) for visible channel output"
  • 没有在 Group Chat Context 里明确说明当前是 message_tool_only 模式,被 @mention 后必须调 message 工具才能回复

这导致 agent 容易按旧行为(automatic 模式)工作,群聊看不到回复。

影响:

  • 用户 @ bot 后,agent 可能生成了回复内容但没有发到群里
  • 用户以为 bot 没回复,再次追问
  • 日志显示 dispatch complete (replies=0),agent 的回复停留在 session 内部

建议修复:

在 Group Chat Context 或 Messaging section 增加明确的提示,例如:

"This group chat uses `message_tool_only` mode. When @mentioned, you MUST use `message(action=send)` to post visible replies to the group."

或者:

"Group chat visible replies require `message(action=send)`. Your normal assistant replies stay private unless you call the message tool."

相关 commit:

  • 3c636208b0 (2026-04-27) - fix(messages): keep group replies tool-only by default

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 Group chat message_tool_only mode lacks explicit guidance for @ mentions