Repository navigation
Closed
Closed
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.
Description
Bug Report: Feishu streaming card overwrites text instead of appending
Summary
After OpenClaw update to 2026.6.1, Feishu streaming card behavior changed: characters are being overwritten instead of appended during streaming, causing only a few characters to be visible at a time.
Environment
- OpenClaw Version: 2026.6.1 (2e08f0f)
- Model: xiaomi/mimo-v2.5-pro (with reasoning enabled)
- Channel: Feishu (WebSocket mode)
- OS: macOS 26.2 (arm64)
Current Behavior
When streaming is enabled (channels.feishu.streaming: true), the Feishu card:
- Shows a few characters initially
- Those characters get overwritten by new characters
- Only a small portion of the text is visible at any time
- The "typewriter effect" (appending characters one by one) is broken
Expected Behavior
The Feishu card should:
- Append characters one by one (typewriter effect)
- Show the thinking process progressively
- Show the final answer after thinking completes
- Never overwrite existing characters
Steps to Reproduce
- Configure OpenClaw with Feishu channel
- Set
channels.feishu.streaming: true(or omit it, as it defaults to true) - Use a model with reasoning capability (e.g., xiaomi/mimo-v2.5-pro)
- Send a message that triggers thinking
- Observe the Feishu card behavior
Additional Context
Related Changes
This issue appears to be introduced by the recent update:
- fix(feishu): fallback when accepted turns send no visible reply #87896: "Channels: preserve long Feishu streaming replies, send visible fallbacks when accepted Feishu turns produce no final reply"
Related Issues
- [Feature Request] Hide thinking/reasoning display in Feishu while keeping thinking capability #25014: [Feature Request] Hide thinking/reasoning display in Feishu while keeping thinking capability
- Bug: MiMo models (anthropic-messages) fallback immediately - thinking block replay missing reasoning_content #81416: Bug: MiMo models fallback immediately - thinking block replay missing reasoning_content
Current Workaround
Set channels.feishu.streaming: false to disable streaming. This avoids the overwrite issue but loses the typewriter effect and thinking process visibility.
Logs
2026-06-08T17:25:07.911+08:00 [feishu] Started streaming: cardId=7648953240243899375
2026-06-08T17:25:21.879+08:00 [feishu] Closed streaming: cardId=7648953240243899375
2026-06-08T17:25:21.883+08:00 [feishu] dispatch complete (queuedFinal=false, replies=0)
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Jun 8, 2026
Thanks for the context here. I did a careful shell check against current
main, and this is already implemented.Close as implemented on current main: after v2026.6.1, commit 6a0fdea removed suffix-only Feishu streaming card updates and now sends cumulative content, so the reported overwrite regression is fixed on main but not yet in the latest release.
So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review details
Best possible solution:
Keep the current-main cumulative Feishu streaming-card update behavior and ship it in the next release; users on v2026.6.1 can keep using the documented non-streaming workaround until that release is available.
Do we have a high-confidence way to reproduce the issue?
Yes for the reported release/source path: v2026.6.1 sent suffix-only payloads on Feishu streaming-card updates, matching the overwrite-visible symptom. I did not reproduce it against current main because current main no longer has that suffix path.
Is this the best way to solve the issue?
Yes. The current-main fix is the narrow owner-boundary solution because it changes the Feishu streaming session to send cumulative content, while leaving dispatcher callers and user configuration unchanged.
Security review:
Security review: Non-PR issue triage; no patch security or supply-chain review applies.
AGENTS.md: found and applied where relevant.
What I checked:
FeishuStreamingSession.update()now callsupdateCardContent(mergedText)after merging the new text with current state, so the CardKit content update receives the full visible card text rather than a suffix. (extensions/feishu/src/streaming-card.ts:475, 6a0fdea90ad0)textdirectly when the final reply extends the displayed content, instead of computing and sending an append-only suffix. (extensions/feishu/src/streaming-card.ts:531, 6a0fdea90ad0)hello worldandhello world!, matching the cumulative behavior needed for an overwrite-style CardKit update endpoint. (extensions/feishu/src/streaming-card.test.ts:247, 6a0fdea90ad0)resolveStreamingCardAppendContent(...)and used the resulting suffix in streaming-card updates, matching the user-reported v2026.6.1 overwrite symptom. (extensions/feishu/src/streaming-card.ts:157, 2e08f0f4221f)extensions/feishu/src/streaming-card.ts:154, 6a0fdea90ad0)git branch --containsshows the fix onmain;git tag --containsreturned no release tag, so the fix is current-main-only after v2026.6.1. (6a0fdea90ad0)Likely related people:
extensions/feishu/src/streaming-card.ts,extensions/feishu/src/reply-dispatcher.ts)extensions/feishu/src/reply-dispatcher.ts,extensions/feishu/src/streaming-card.ts)extensions/feishu/src/streaming-card.ts)extensions/feishu/README.md,extensions/feishu/openclaw.plugin.json)Codex review notes: model gpt-5.5, reasoning high; reviewed against 310d28f719b8; fix evidence: commit 6a0fdea90ad0, main fix timestamp 2026-06-07T19:09:49+09:00.
richardataxai-lab commentedon Jun 8, 2026
Thanks for the quick fix! The commit 6a0fdea has been merged, but it does not seem to be included in the latest beta releases yet (2026.6.2-beta.1, 2026.6.5-beta.2). When will this fix be included in an official release? We are currently using streaming: false + renderMode: card as a workaround, but we would love to get the streaming typewriter effect back. Thanks!