openclaw - 💡(How to fix) Fix Telegram typing indicator should stay active during tool execution, not just message composition [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#77681Fetched 2026-05-06 06:23:07
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Author
Timeline (top)
closed ×1commented ×1

Root Cause

On messaging platforms (Telegram, Discord, WhatsApp, etc.), the typing indicator is the ONLY signal the user has that the agent is alive and working. Without it, users assume the agent is broken/dead and get frustrated.

RAW_BUFFERClick to expand / collapse

Problem

When OpenClaw receives a message on Telegram, the typing indicator only shows while the gateway is composing the final reply message. During the tool execution phase (web search, file read, exec, etc.) — which can take 10-60+ seconds — there is no typing indicator. The user sees nothing and has no way to know if OpenClaw is working or dead.

This creates a terrible user experience, especially on messaging surfaces where the user can't see terminal output.

Expected behavior

Typing indicator should be active from the moment a message is received until the final reply is sent — including during all tool calls.

Current behavior

  • Typing indicator only shows briefly while the gateway assembles the reply
  • During long tool execution cycles, user sees no indicator
  • After the reply is sent, OpenClaw silently continues working on follow-up tasks with no indicator

Why this matters

On messaging platforms (Telegram, Discord, WhatsApp, etc.), the typing indicator is the ONLY signal the user has that the agent is alive and working. Without it, users assume the agent is broken/dead and get frustrated.

Related

  • The agent already has callbacks for tool execution progress (tool_progress_callback, step_callback). These should also drive the typing indicator refresh.
  • Hermes agent has similar callback-driven progress indicators that keep the typing status alive during tool execution.

extent analysis

TL;DR

Implement a mechanism to continuously send typing indicators during tool execution phases, utilizing existing callbacks like tool_progress_callback and step_callback.

Guidance

  • Investigate how the Hermes agent implements callback-driven progress indicators to keep the typing status alive during tool execution, as it may serve as a reference model.
  • Modify the OpenClaw gateway to send typing indicators at regular intervals during tool execution, potentially using the existing tool_progress_callback and step_callback to trigger these indicators.
  • Consider adding a timer or a scheduling mechanism to ensure the typing indicator is updated periodically, even if the tool execution progress callbacks are not frequently triggered.
  • Review the Telegram API documentation to ensure compliance with any specific requirements or limitations for sending typing indicators.

Example

No specific code example can be provided without more context on the existing implementation, but the idea would be to integrate the typing indicator updates within the callbacks, such as:

def tool_progress_callback(progress):
    # Update typing indicator here
    send_typing_indicator()
    # Existing progress handling code

def step_callback(step):
    # Update typing indicator here
    send_typing_indicator()
    # Existing step handling code

Notes

The exact implementation details may vary based on the OpenClaw architecture and the Telegram API specifics. Ensuring that the typing indicator does not spam the user or violate any platform policies is crucial.

Recommendation

Apply a workaround by integrating the typing indicator updates with the existing callbacks, as this approach leverages existing functionality and does not require waiting for a potential future version fix.

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

Typing indicator should be active from the moment a message is received until the final reply is sent — including during all tool calls.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING