Skip to content

feat(gateway): add busy_ack_enabled config option to suppress ack messages#17491

Closed
JezzaHehn wants to merge 1 commit into
NousResearch:mainfrom
JezzaHehn:feat/gateway-busy-ack-suppression
Closed

feat(gateway): add busy_ack_enabled config option to suppress ack messages#17491
JezzaHehn wants to merge 1 commit into
NousResearch:mainfrom
JezzaHehn:feat/gateway-busy-ack-suppression

Conversation

@JezzaHehn
Copy link
Copy Markdown
Contributor

Summary

When a user sends a message while the gateway is busy processing, an acknowledgment message is sent (e.g., "⚡ Interrupting current task..."). This can be spammy for users who send rapid messages like voice input.

Add config option (default: for backward compatibility) to allow users to suppress these busy-input acknowledgment messages.

Changes

  • Add config loading for in
  • Add guard in to skip sending ack when disabled
  • Log at DEBUG level when ack is suppressed

Config

How to test

  1. Run a long terminal command (e.g., )
  2. Send a message while it's running
  3. Verify you get the ack message (default behavior)
  4. Add to config.yaml
  5. Restart gateway
  6. Repeat test - verify NO ack message is sent

Related

…sages

When a user sends a message while the gateway is busy processing,
an acknowledgment message is sent. This can be spammy for users
who send rapid messages.

Add display.busy_ack_enabled config option (default: true) to allow
users to suppress these busy-input acknowledgment messages.

Fixes NousResearch#17457
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery labels Apr 29, 2026
teknium1 added a commit that referenced this pull request May 1, 2026
- Move the disabled-ack guard above the debounce so we don't stamp
  _busy_ack_ts[session_key] when no ack was actually sent. Harmless
  (never read when disabled) but cosmetically off.
- Document display.busy_ack_enabled in user-guide/messaging/index.md
  and HERMES_GATEWAY_BUSY_ACK_ENABLED in reference/environment-variables.md.
- Add JezzaHehn to scripts/release.py AUTHOR_MAP for contributor credit.

Follow-up to #17491 (Jezza Hehn).
@teknium1
Copy link
Copy Markdown
Contributor

teknium1 commented May 1, 2026

Merged via PR #18194 — your commit was cherry-picked onto current main with your authorship preserved (commit 2b512cb on main). I added a small timestamp-placement tweak (moved the disabled-ack guard above the debounce stamp so we don't record a 'last ack sent' timestamp that was never actually sent) plus docs for display.busy_ack_enabled / HERMES_GATEWAY_BUSY_ACK_ENABLED. Thanks for the clean fix!

#18194

@teknium1 teknium1 closed this May 1, 2026
nickdlkk pushed a commit to nickdlkk/hermes-agent that referenced this pull request May 11, 2026
- Move the disabled-ack guard above the debounce so we don't stamp
  _busy_ack_ts[session_key] when no ack was actually sent. Harmless
  (never read when disabled) but cosmetically off.
- Document display.busy_ack_enabled in user-guide/messaging/index.md
  and HERMES_GATEWAY_BUSY_ACK_ENABLED in reference/environment-variables.md.
- Add JezzaHehn to scripts/release.py AUTHOR_MAP for contributor credit.

Follow-up to NousResearch#17491 (Jezza Hehn).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(gateway): add config option to suppress busy-input acknowledgment messages

3 participants