Repository navigation
Description
Bug Description
After upgrading from OpenClaw 2026.4.29 to 2026.5.2, the QQ Bot channel plugin sends multiple messages per user input and frequently repeats content from previous replies. The same LLM model (deepseek-v4-flash) produced concise, single-message replies on 2026.4.29, so this is not a model behavior change.
Steps to Reproduce
- Install OpenClaw 2026.5.2
- Install the external
@openclaw/qqbotplugin viaopenclaw channels add --channel qqbot - Configure a QQ Bot channel with any reasoning model
- Send a message to the bot via QQ
- Observe that the bot sends 2-4 separate messages in response, often repeating points across messages
Expected Behavior
The bot should send a single, concise reply per user message, consistent with behavior in 2026.4.29 where qqbot was a bundled channel.
Root Cause Analysis
The 2026.5.2 release externalized the QQ Bot channel from a bundled plugin to a separate npm package (@openclaw/qqbot). The external package appears to have different message chunking/streaming logic that splits responses into multiple messages and sometimes resends earlier content.
Key observations:
- Same model, same prompt → different behavior between versions
- The issue persists regardless of systemPrompt content (only partially mitigated by strict length constraints)
- The bundled qqbot in 2026.4.29 did not exhibit this behavior
Workaround
Setting a restrictive systemPrompt on the channel configuration reduces verbosity but does not fully resolve the multi-message/repetition issue:
systemPrompt: "Rules: 1. Reply in no more than 3 sentences 2. Never repeat what was already said 3. Do not proactively expand topics 4. Answer only what was asked, nothing extra"
Environment
- OpenClaw version: 2026.5.2 (stable channel)
- @openclaw/qqbot: version bundled with 2026.5.2
- Install method: user-level npm global install
- Model: deepseek-v4-flash (reasoning mode enabled)
- Platform: Linux (VM, bridge network)
Additional Context
The external qqbot plugin also required manual symlink creation (~/.openclaw/extensions/qqbot → ~/.openclaw/npm/node_modules/@openclaw/qqbot) for the gateway to discover it, which may indicate the plugin discovery mechanism for external channels needs improvement as well.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon May 3, 2026
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.
Close as superseded: the same QQBot split/repetitive-reply symptom is now tracked by a newer open issue with current-release gateway logs and a clearer source-path diagnosis, while this older report's extra context-bleeding claim is not independently proven as a separate root cause.
Root-cause cluster
Relationship:
supersededCanonical: #95526
Summary: The newer QQBot issue is the canonical tracker for the remaining split/repetitive markdown-reply behavior; adjacent QQBot duplicate reports remain distinct unless their evidence matches the same chunker path.
Members:
canonical: [Bug] v2026.6.9 QQBot: long markdown reply is split into N independent bubbles (one per chunk), not a single message #95526 - Open current-release QQBot report with gateway logs and source review for the same split/repetitive visible reply symptom.adjacent_distinct: [Bug]: qqbot 消息重复发送 #77306 - Also reports QQBot duplicate messages, but its discussion centers on replay/idempotency and message_sending hypotheses rather than the markdown chunker path.partial_overlap: fix(qqbot): keep markdown table chunks valid #92428 - Merged QQBot markdown chunker work touches the same surface but only made table chunks valid and did not resolve one visible QQ reply per logical answer.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Canonical path: Consolidate the remaining QQBot split/repetitive-reply work under the newer current-release tracker, and handle any separate context-bleeding bug only with fresh live evidence.
So I’m closing this here because the remaining work is already tracked in the canonical issue.
Review details
Best possible solution:
Consolidate the remaining QQBot split/repetitive-reply work under the newer current-release tracker, and handle any separate context-bleeding bug only with fresh live evidence.
Do we have a high-confidence way to reproduce the issue?
No high-confidence live reproduction was run for the full issue. The split-message part is source-reproducible on current main and supported by the newer current-release logs; the context-bleeding part still needs live evidence.
Is this the best way to solve the issue?
Yes. Closing this older report as superseded by #95526 is the best current cleanup because that issue has the current-release logs and source-path framing needed for maintainer action.
Security review:
Security review: No patch is under review, and the issue is not a security-sensitive report.
AGENTS.md: found and applied where relevant.
What I checked:
extensions/qqbot/src/engine/messaging/outbound-deliver.ts:768, 6e5f4d685ec9)extensions/qqbot/src/engine/messaging/outbound-deliver.ts:259, 6e5f4d685ec9)extensions/qqbot/src/engine/messaging/outbound-deliver.ts:768, c645ec4555c0)extensions/qqbot/src/engine/messaging/markdown-table-chunking.test.ts:174, 6e5f4d685ec9)extensions/qqbot/src/engine/group/history.ts:260, 6e5f4d685ec9)Likely related people:
extensions/qqbot/src/channel.ts,extensions/qqbot/src/types.ts,extensions/qqbot/src/engine/messaging/markdown-table-chunking.ts)extensions/qqbot/src/engine/gateway/outbound-dispatch.ts,extensions/qqbot/src/engine/gateway/stages/assembly-stage.ts,extensions/qqbot/src/engine/group/history.ts)extensions/qqbot/src/engine/gateway/outbound-dispatch.ts,extensions/qqbot/src/engine/messaging/outbound-deliver.ts,extensions/qqbot/src/engine/api/messages.ts)Codex review notes: model internal, reasoning high; reviewed against 6e5f4d685ec9.
BigBear0099 commentedon May 3, 2026
Update: Context Bleeding Between Conversations
Upon further testing, the issue is more severe than initial description suggests. The bot doesn't just send multiple messages — it mixes content from previous conversation turns into the current reply.
Example
User asks about topic A → Bot replies about topic A.
User then asks about topic B → Bot replies about topic B but also re-references topic A in the same response, as if the two contexts were merged.
This indicates the 2026.5.2 qqbot plugin has a context management bug where previous conversation context bleeds into subsequent replies, not just a message chunking issue.
Impact
This severely affects conversation accuracy. Users receive responses that conflate different topics, making the bot unreliable for sequential Q&A.
bxy3045134656 commentedon May 15, 2026
确认:我们也遇到了完全相同的问题
同样确认这个 bug 确实存在。
环境信息:
现象:
升级到 2026.5.x(QQ Bot 外置后)的版本后,确实遇到过 Bot 回复拆分成多条消息、内容重复的情况。回退到 2026.4.29 之前版本时没有这个问题。
跟 Issue 描述完全一致,外置 QQ Bot 包的消息分块/streaming 逻辑确实跟内置版有差异。希望官方能跟进修复 🙏
sliverp commentedon May 22, 2026
One reply was split into multiple parts, which is considered to be in line with expectations. Are there any detailed screenshots attached? Let me confirm if it's the kind of repetition.
kingpro1985 commentedon Jun 17, 2026
I saw this while looking at custom model/provider setup issues: "QQ Bot sends verbose/repetitive replies after upgrading to 2026.5.2".
If it helps your testing, CloudGPU exposes a hosted OpenAI-compatible endpoint that can route to GPT, Claude, Gemini, DeepSeek, Kimi and GLM behind one API key.
Base URL: https://gpuapis.com/api/v1
Setup guide: https://gpuapis.com/use-cases/deepseek-gemini-claude-api/
I can share a small test key/credit and a cURL request if you want to verify it in your current client before doing any integration work.
kingpro1985 commentedon Jun 17, 2026
I saw this while looking at custom model/provider setup issues: "QQ Bot sends verbose/repetitive replies after upgrading to 2026.5.2".
If it helps your testing, CloudGPU exposes a hosted OpenAI-compatible endpoint that can route to GPT, Claude, Gemini, DeepSeek, Kimi and GLM behind one API key.
Base URL: https://gpuapis.com/api/v1
Setup guide: https://gpuapis.com/use-cases/deepseek-gemini-claude-api/
I can share a small test key/credit and a cURL request if you want to verify it in your current client before doing any integration work.
edisonxl commentedon Jun 21, 2026
Heads up — 县长老哥 (edisonxl) just opened #95526 covering the same user-visible symptom ("the same content received twice") for v2026.6.9, with gateway-log evidence that the root cause is the QQBot markdown chunker emitting N independent outbound messages (different TraceId / refIdx per chunk), not a delivery-queue race. Linking so the two issues can be triaged together. The 6.9 release shipped fixes #93164 and #93938 for the same chunker behavior on Telegram but did not include the equivalent fix for QQBot.