Bug Report
Channel: Feishu (飞书)
Description:
When a user sends an image message via Feishu DM, the agent responds twice. This happens because the Feishu plugin fires two separate events for a single image message:
- First event: the message text / image_key notification
- Second event: the media attachment download notification
Both events trigger a full agent turn, resulting in duplicate responses and unnecessary token consumption.
Steps to Reproduce:
- Configure Feishu channel with a working bot
- Send an image (photo) in a DM to the bot
- Observe two separate responses from the agent
Expected Behavior:
Only one agent response per user message, regardless of whether the message contains media attachments.
Suggested Fix:
Deduplicate events by message ID before dispatching to the agent. If an event with the same message_id has already triggered an agent turn, skip the second event.
Impact:
- Doubled token usage for every image message
- Confusing UX (two different responses to the same message)
- Reported by user on 2026-02-27
Environment:
- OpenClaw version: 2026.2.15
- Channel: feishu
- Message type: image
Bug Report
Channel: Feishu (飞书)
Description:
When a user sends an image message via Feishu DM, the agent responds twice. This happens because the Feishu plugin fires two separate events for a single image message:
Both events trigger a full agent turn, resulting in duplicate responses and unnecessary token consumption.
Steps to Reproduce:
Expected Behavior:
Only one agent response per user message, regardless of whether the message contains media attachments.
Suggested Fix:
Deduplicate events by message ID before dispatching to the agent. If an event with the same
message_idhas already triggered an agent turn, skip the second event.Impact:
Environment: