openclaw - 💡(How to fix) Fix 飞书消息回复引用(replyTo)有时不显示 - OpenClaw 2026.3.23-2 [1 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#53645Fetched 2026-04-08 01:25:25
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
commented ×1

Fix Action

Fix / Workaround

日志信息

2026-03-24T11:28:32.457Z info gateway/channels/feishu dispatch complete (queuedFinal=false, replies=0) 有时 agent 收到消息但 replies=0(没有生成回复)

RAW_BUFFERClick to expand / collapse

问题描述

OpenClaw 升级到 2026.3.23-2 后,飞书消息回复使用 replyTo 参数引用对方消息时,有时能显示引用,有时不能显示。

环境信息

  • OpenClaw 版本: 2026.3.23-2
  • 飞书连接模式: WebSocket 长连接
  • 消息工具参数: message + card (2026.3.23-2 强制要求 card 参数)

复现步骤

  1. 通过飞书发送消息给 OpenClaw agent
  2. agent 使用 message 工具的 replyTo 参数回复
  3. 有时能看到引用效果,有时看不到

日志信息

2026-03-24T11:28:32.457Z info gateway/channels/feishu dispatch complete (queuedFinal=false, replies=0) 有时 agent 收到消息但 replies=0(没有生成回复)

预期行为

replyTo 参数应该稳定显示引用效果

附加说明

  • 飞书消息发送现在需要同时提供 message + card 参数(2026.3.23-2 之前只需要 message)
  • 消息收发功能正常,只是引用效果不稳定

extent analysis

Fix Plan

To fix the unstable replyTo parameter issue, we need to ensure that the replies count is correctly incremented when using the replyTo parameter.

Step-by-Step Solution

  1. Verify message and card parameters: Ensure that both message and card parameters are provided when sending messages.
  2. Update replyTo logic: Modify the replyTo parameter logic to correctly increment the replies count.
# Example code snippet
def send_reply(message, reply_to):
    # ... (existing code)
    if reply_to:
        # Increment replies count
        replies += 1
        # ... (existing code)
    return message
  1. Handle WebSocket connection: Ensure that the WebSocket long connection is stable and not causing any issues with message delivery.
# Example code snippet
import websocket

ws = websocket.WebSocket()
ws.connect("ws://example.com/ws")

# ... (existing code)

ws.send(json.dumps({"message": message, "card": card, "replyTo": reply_to}))

Verification

To verify that the fix worked, send multiple messages with the replyTo parameter and check that the replies count is correctly incremented in the logs.

2026-03-24T11:28:32.457Z info gateway/channels/feishu dispatch complete (queuedFinal=false, replies=1)

Extra Tips

  • Ensure that the OpenClaw version is up-to-date and compatible with the Feishu connection mode.
  • Monitor the logs for any errors or issues related to message delivery or WebSocket connections.

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 飞书消息回复引用(replyTo)有时不显示 - OpenClaw 2026.3.23-2 [1 comments, 2 participants]