openclaw - 💡(How to fix) Fix [Bug]: Reasoning not delivered on Matrix channel (/reasoning on has no effect)

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…

Reasoning blocks are generated and stored but never delivered to the Matrix channel. /reasoning on, /reasoning stream, and reasoning off all produce identical behavior: no reasoning shown in Matrix. The web dashboard correctly shows thinking blocks.

This may be the inverse of #24411, where Matrix always showed reasoning, even when off.

Root Cause

(screenshots in this section because the "Logs, screenshots, and evidence" box above doesn't actually accept screenshots)

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Reasoning blocks are generated and stored but never delivered to the Matrix channel. /reasoning on, /reasoning stream, and reasoning off all produce identical behavior: no reasoning shown in Matrix. The web dashboard correctly shows thinking blocks.

This may be the inverse of #24411, where Matrix always showed reasoning, even when off.

Steps to reproduce

  1. Start OpenClaw 2026.5.7 with Matrix channel enabled, using a reasoning-capable model (for me, zai/glm-5.1 with thinking: medium)
  2. Set /reasoning on in Matrix. Confirmation get sent: "⚙️ Reasoning visibility enabled."
  3. Send any message
  4. Observe: no reasoning block appears in Matrix client (Element)
  5. Open web dashboard (localhost:18789) and see that the reasoning blocks are visible there.

Expected behavior

When /reasoning on is set, I'd expect a separate reasoning message to be delivered to Matrix before the assistant reply (similar to how Telegram and Slack handle it).

Actual behavior

  • on: no reasoning shown.
  • off: no reasoning shown (correct).
  • stream: no reasoning shown (behaves same as off, Matrix doesn't support streaming).
  • Web dashboard: reasoning blocks are visible in all cases.

OpenClaw version

2026.5.7 (eeef486)

Operating system

Linux Debian 13, x86_64

Install method

npm global

Model

zai/glm-5.1 (reasoning-capable, thinking level: medium)

Provider / routing chain

Element → Matrix homeserver (tuwunel) → OpenClaw → Z.AI → OpenClaw → Matrix homeserver → Element

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

The Matrix chat doesn't show thinking, even though it's set to "on":

<img width="964" height="211" alt="Image" src="https://github.com/user-attachments/assets/dda85b81-e2a5-4e0e-b4a5-05b7e8e645cf" />

But it's visible in the dashboard:

<img width="1364" height="499" alt="Image" src="https://github.com/user-attachments/assets/6efd1bae-77f8-4d76-a92c-7ec8c25002b5" />

(screenshots in this section because the "Logs, screenshots, and evidence" box above doesn't actually accept screenshots)

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…

FAQ

Expected behavior

When /reasoning on is set, I'd expect a separate reasoning message to be delivered to Matrix before the assistant reply (similar to how Telegram and Slack handle it).

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 [Bug]: Reasoning not delivered on Matrix channel (/reasoning on has no effect)