openclaw - 💡(How to fix) Fix [Bug]: Internal Reasoning Markers Leaking to Chat Output [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#80307Fetched 2026-05-11 03:16:30
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
2
Timeline (top)
labeled ×2closed ×1commented ×1

During an agent session with thinking=medium, internal reasoning markers that should be suppressed were rendered into the visible chat output. The user observed text like:

[Krilling... 🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true 🛠️ Exec 🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true 🛠️ Exec: completed; command run…~ -> show first 3 lines → run true ]

This text appeared inline in the Telegram chat while the agent was processing a multi-step task (building the Sunday tech brief). The markers were visible to the end user and had to be manually dismissed/copied.

Root Cause

During an agent session with thinking=medium, internal reasoning markers that should be suppressed were rendered into the visible chat output. The user observed text like:

[Krilling... 🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true 🛠️ Exec 🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true 🛠️ Exec: completed; command run…~ -> show first 3 lines → run true ]

This text appeared inline in the Telegram chat while the agent was processing a multi-step task (building the Sunday tech brief). The markers were visible to the end user and had to be manually dismissed/copied.

Code Example

Krilling...
🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true
🛠️ Exec
🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true
🛠️ Exec: completed; command run…~ -> show first 3 lines → run true
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

During an agent session with thinking=medium, internal reasoning markers that should be suppressed were rendered into the visible chat output. The user observed text like:

[Krilling... 🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true 🛠️ Exec 🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true 🛠️ Exec: completed; command run…~ -> show first 3 lines → run true ]

This text appeared inline in the Telegram chat while the agent was processing a multi-step task (building the Sunday tech brief). The markers were visible to the end user and had to be manually dismissed/copied.

Steps to reproduce

  1. Start a session with thinking=medium on ollama/kimi-k2.6:cloud
  2. Trigger a multi-step agent workflow requiring several tool calls in sequence
  3. Observe that internal planning/processing annotations occasionally appear in the chat output

Expected behavior

All internal reasoning, planning, and execution annotations should be completely hidden from the user-facing message stream.

Actual behavior

Internal "Krilling..." headers and 🛠️ tool execution labels leaked into the rendered assistant message.

OpenClaw version

2026.5.7

Operating system

Ubuntu 26 LTS

Install method

NPM Global

Model

Model: ollama/kimi-k2.6:cloud

Provider / routing chain

Openclaw gateway

Additional provider/model setup details

Environment: • OpenClaw version: 2026.5.7 (eeef486) • Model: ollama/kimi-k2.6:cloud • Runtime: OpenClaw Pi Default • Thinking mode: medium • Surface: Telegram direct chat • Host: ROSECLAW (Linux, local Ollama)

Logs, screenshots, and evidence

Krilling...
🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true
🛠️ Exec
🛠️ Exec: run which gogcli → find…~ -> show first 3 lines → run true
🛠️ Exec: completed; command run…~ -> show first 3 lines → run true

Impact and severity

• Breaks user experience by exposing internal implementation details • Creates confusion about whether the agent is "talking to itself" or the user • May leak tool names or paths that shouldn't be visible

Additional information

Possible Cause: The thinking=medium reasoning stream may not be fully decoupled from the final message assembly pipeline when the model generates tool calls in rapid succession.

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

All internal reasoning, planning, and execution annotations should be completely hidden from the user-facing message stream.

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]: Internal Reasoning Markers Leaking to Chat Output [1 comments, 2 participants]