Hide OpenClaw Exec Lines in Telegram Chat: One-Command Fix

✍️ OpenClawRadar📅 Published: July 10, 2026🔗 Source
Hide OpenClaw Exec Lines in Telegram Chat: One-Command Fix
Ad

If you use OpenClaw via Telegram, you've likely seen raw ⚙️ Exec: lines cluttering your chat after every agent command. This happens because the config keys streaming.preview.toolProgress and streaming.progress.toolProgress default to true, streaming all tool progress — including exec details — into Telegram messages. These keys are not written to openclaw.json by default, so they must be added manually.

The Fix (One Command)

Run the following Python command to automatically back up your config and write the required keys:

python3 -c "
import json, os, shutil
p = os.path.expanduser('~/.openclaw/openclaw.json')
shutil.copy(p, p + '.backup')
with open(p) as f: c = json.load(f)
c.setdefault('channels', {}).setdefault('telegram', {})['streaming'] = {
    'preview': {'toolProgress': False},
    'progress': {'toolProgress': False}
}
with open(p, 'w') as f: json.dump(c, f, indent=2)
print('Done. Restart OpenClaw gateway.')
"
Ad

Validate JSON

After the change, verify your config is valid JSON:

node -e "JSON.parse(require('fs').readFileSync(require('os').homedir()+'/.openclaw/openclaw.json','utf8')); console.log('JSON OK')"

Restart Gateway

Kill the running OpenClaw gateway and start it again (replace <YOUR_PORT> with your actual port):

pkill -f "openclaw.*gateway" && sleep 2 && openclaw gateway --port <YOUR_PORT> & bg %1

Note: after the &, the process may hang in a Suspended state. Running bg %1 resumes it.

Relevant Config Keys

  • streaming.preview.toolProgress – set to false
  • streaming.progress.toolProgress – set to false

The original blog post and videos (English and German) are linked in the source below.

📖 Read the full source: r/openclaw

Ad

👀 See Also

Workaround for Claude Mobile App Microphone Feedback Loop Error
Tips

Workaround for Claude Mobile App Microphone Feedback Loop Error

A Reddit user shares a working workaround for the microphone feedback loop error in the Claude mobile app: installing the web version as a standalone Progressive Web App via Google Chrome, which bypasses the issue and provides access to different Claude models.

OpenClawRadar
Claude User Shares 'Don't Manage My Feelings' Prompt for Direct Technical Feedback
Tips

Claude User Shares 'Don't Manage My Feelings' Prompt for Direct Technical Feedback

A Claude user recommends setting a specific prompt in user preferences to reduce validation preamble and get more direct technical feedback. The prompt tells Claude to skip diplomatic phrasing and provide straightforward criticism on technical and creative work.

OpenClawRadar
Parallel Audit Agents: A Practical Approach to Vibe-Coded Testing with Claude
Tips

Parallel Audit Agents: A Practical Approach to Vibe-Coded Testing with Claude

A developer built a user testing system with Claude using 10 parallel audit agents covering hallucination detection, API sentinel, UI stress testing, PII anonymization, SEO, legal compliance, behavioral simulation, demographic personas, funnel testing, and fact checking.

OpenClawRadar
Five Common OpenClaw Setup Mistakes That Waste Money and Create Security Risks
Tips

Five Common OpenClaw Setup Mistakes That Waste Money and Create Security Risks

Based on reviewing 50+ OpenClaw setups, the same five issues appear repeatedly: using Opus as the default model instead of Sonnet for most tasks, never starting fresh sessions, installing skills without reading source code, exposing the gateway to the network, and adding a second agent before fixing the first.

OpenClawRadar