openclaw - 💡(How to fix) Fix Feature: slash command to set preview streaming mode for current chat/session [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#74077Fetched 2026-04-30 06:28:51
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
cross-referenced ×2commented ×1

Root Cause

Preview streaming is useful but situational:

  • Some chats benefit from partial live previews.
  • Some groups are cleaner with final or off to avoid noisy edits / ghost-preview UX.
  • Debugging channel behavior often requires switching modes quickly.
  • Today this generally means editing channel config and relying on reload/restart behavior, which is awkward for operators and risky during active conversations.

A per-chat/session command would let operators tune delivery behavior where the conversation is happening, without a gateway restart.

Code Example

/stream
/stream off
/stream final
/stream partial
/stream progress
/stream reset
RAW_BUFFERClick to expand / collapse

Feature request

Add a slash/native command to change preview streaming behavior for the current chat/session without editing gateway config or restarting the gateway.

Proposed UX

/stream
/stream off
/stream final
/stream partial
/stream progress
/stream reset

/stream with no args would show the effective streaming mode for the current conversation and whether it is inherited from config or overridden locally.

/stream reset would clear the local override and return to the configured channel default.

An alias like /streaming would also be fine if that fits the command naming style better.

Why this matters

Preview streaming is useful but situational:

  • Some chats benefit from partial live previews.
  • Some groups are cleaner with final or off to avoid noisy edits / ghost-preview UX.
  • Debugging channel behavior often requires switching modes quickly.
  • Today this generally means editing channel config and relying on reload/restart behavior, which is awkward for operators and risky during active conversations.

A per-chat/session command would let operators tune delivery behavior where the conversation is happening, without a gateway restart.

Scope preference

Ideally this should be a shared channel capability rather than Telegram-only if practical.

Likely first-class targets:

  • Telegram
  • Slack
  • Discord

Mattermost or other channels could follow if their preview/draft model maps cleanly.

Design questions

I am not presuming the storage layer here. Possible designs:

  1. Store a current-session override, similar in spirit to /fast, /verbose, or /reasoning.
  2. Store a per-conversation/channel runtime override keyed by channel + chat/thread/session identity.
  3. Add a shared channel delivery override abstraction that preview-streaming-capable channels can opt into.

A minimal MVP could skip richer DM-vs-group policy and only support “set/reset effective preview mode for this current conversation.”

Expected behavior

  • Command applies only to the current chat/session/conversation scope.
  • No gateway restart required.
  • Existing config remains the default/fallback.
  • /status ideally shows an active streaming override when one is set.
  • Unsupported channels should return a clear “not supported on this channel” message rather than silently doing nothing.

Related existing work

Not exact duplicates, but adjacent:

  • #59221 — built-in command aliases
  • #39617 — reload config in slash command routing so dmScope is respected
  • #73495 / #73505 — Telegram replyToMode vs streaming/tool-progress preview
  • #72759 — Telegram default streaming mode to final
  • #73795 — streaming.preview.toolProgress config normalization
  • #49889 — Telegram partial-stream delivery observability
  • #65535 — streaming final-content hook

extent analysis

TL;DR

Implement a slash command to change preview streaming behavior for the current chat/session without editing gateway config or restarting the gateway.

Guidance

  • Design a storage layer to store the current-session override or per-conversation/channel runtime override for preview streaming behavior.
  • Develop a command handler to parse the proposed UX commands (e.g., /stream, /stream off, /stream final) and apply the corresponding streaming mode to the current chat/session.
  • Ensure the command applies only to the current chat/session scope and does not require a gateway restart.
  • Consider adding support for a /status command to show an active streaming override when one is set.

Example

No code snippet is provided as the issue lacks specific technical details about the implementation.

Notes

The solution will depend on the chosen storage layer design and the existing architecture of the gateway and channel integrations.

Recommendation

Apply a workaround by implementing a minimal MVP that supports "set/reset effective preview mode for this current conversation" without richer DM-vs-group policy, and iterate on the design based on user feedback and technical feasibility.

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

  • Command applies only to the current chat/session/conversation scope.
  • No gateway restart required.
  • Existing config remains the default/fallback.
  • /status ideally shows an active streaming override when one is set.
  • Unsupported channels should return a clear “not supported on this channel” message rather than silently doing nothing.

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 Feature: slash command to set preview streaming mode for current chat/session [1 comments, 2 participants]