hermes - 💡(How to fix) Fix [Bug]: Discord typing indicator can get stuck forever during/after long replies [1 pull requests]

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…

Fix Action

Fixed

Code Example

Report  https://paste.rs/i5Nbk
RAW_BUFFERClick to expand / collapse

Bug Description

Discord typing can get stuck during long gateway replies. Sometimes it lingers too long after the answer lands (this is not too bad), but other times it persists indefinitely until the gateway is restarted. I’m seeing this most often on longer Discord runs with tools. It looks like the Discord typing refresh has two owners: the generic gateway typing loop, plus a Discord-specific per-channel typing loop. That makes cleanup fragile, and it probably also increases Discord typing endpoint traffic during long responses. It's also worth mentioning that I am running multiple profiles on Discord and Telegram.

Steps to Reproduce

  • Run Hermes gateway with Discord enabled and (possibly) multiple profiles enabled.
  • Send a prompt that takes a while and uses tools.
  • Watch the Discord typing indicator while Hermes works and after the final reply is received.
  • Repeat a few times. In some runs the typing indicator won't clear normally, or won't clear at all.

Expected Behavior

Typing should be visible while Hermes is actively working and clear shortly after the reply is delivered.

Actual Behavior

Typing can linger for too long, and in some cases gets stuck indefinitely.

Related

These seem to address adjacent symptoms but not this exact problem:

  • #2831
  • #22398
  • #23083
  • #22086
  • #24971

My guess is that the Discord adapter and the generic gateway typing loop are both trying to manage the same indicator.

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Discord

Debug Report

Report  https://paste.rs/i5Nbk

Operating System

EndeavourOS / Linux 6.19.11-arch1-1 x86_64

Python Version

3.11.11

Hermes Version

v0.13.0 (2026.5.7)

Proposed Fix

My guess is that the Discord adapter and the generic gateway typing loop are both trying to manage the same indicator.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Bug]: Discord typing indicator can get stuck forever during/after long replies [1 pull requests]