mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-04 07:31:58 +00:00
fix(gateway): keep Telegram heartbeat + interim commentary on; edit heartbeat in place (#33187)
#33151 flipped THREE Telegram display defaults to false: - tool_progress: new -> off (kept: per-tool stream is too chatty) - interim_assistant_messages: T -> F (REVERTED here) - long_running_notifications: T -> F (REVERTED here) - busy_ack_detail: T -> F (kept: verbose iteration counter) The two reverts were wrong. interim_assistant_messages = the model's REAL words mid-turn ("I'll inspect the repo first.", "Let me check both files in parallel"). That is signal, not noise. Suppressing it left Telegram users staring at "typing..." for the entire turn duration with no feedback. long_running_notifications = the periodic heartbeat. Silent agent for 30 minutes is worse than one bubble updating every 3 minutes. Changes: - gateway/display_config.py: Telegram tier-1 inbox keeps both defaults on (only tool_progress and busy_ack_detail stay off). - gateway/run.py _notify_long_running(): edit a single heartbeat message in place (where the adapter supports it) instead of posting a new "Still working..." bubble each interval. Telegram, Discord, Slack, Matrix all qualify. Falls back to send-new when edit fails. - gateway/run.py: tighten heartbeat text. "⏳ Still working... (12 min elapsed — iteration 21/60, running: terminal)" -> "⏳ Working — 12 min, terminal". Verbose iteration detail moves behind busy_ack_detail (one knob now controls both busy acks AND heartbeat verbosity). - tests/, cli-config.yaml.example, website/docs/user-guide/messaging: updated to reflect the corrected story.
This commit is contained in:
parent
69dfcdcc15
commit
0325e18f34
7 changed files with 114 additions and 49 deletions
|
|
@ -917,9 +917,13 @@ display:
|
|||
tool_progress: all
|
||||
|
||||
# Per-platform defaults can be quieter than the global setting. Telegram
|
||||
# defaults to final-answer-first on mobile: tool progress, interim assistant
|
||||
# updates, long-running "Still working..." heartbeats, and detailed busy acks
|
||||
# are off unless re-enabled under display.platforms.telegram.
|
||||
# tunes for mobile: tool_progress and busy_ack_detail default off (no
|
||||
# per-tool breadcrumb stream, no "iteration 21/60" debug detail in busy
|
||||
# acks or heartbeats), but interim_assistant_messages and
|
||||
# long_running_notifications STAY ON so the user has real signal between
|
||||
# turn start and final answer (mid-turn assistant commentary + a single
|
||||
# edit-in-place "⏳ Working — N min" heartbeat). Override under
|
||||
# display.platforms.telegram.
|
||||
|
||||
# Auto-cleanup of temporary progress bubbles after the final response lands.
|
||||
# On platforms that support message deletion (currently Telegram), this
|
||||
|
|
@ -945,13 +949,19 @@ display:
|
|||
interim_assistant_messages: true
|
||||
|
||||
# Gateway-only long-running status heartbeats.
|
||||
# When false, the platform does not receive periodic "Still working..."
|
||||
# notifications even if agent.gateway_notify_interval is non-zero.
|
||||
# Telegram default: false. Other high-capability chat platforms default true.
|
||||
# When false, the platform does not receive periodic "⏳ Working — N min"
|
||||
# notifications even if agent.gateway_notify_interval is non-zero. The
|
||||
# heartbeat edits a single message in place (where the adapter supports
|
||||
# editing) instead of posting a new bubble each interval.
|
||||
# Default: true everywhere, including Telegram (silent agents are worse
|
||||
# than a single edit-in-place heartbeat).
|
||||
long_running_notifications: true
|
||||
|
||||
# Include detailed iteration/tool/status context in busy acknowledgments when
|
||||
# a new user message arrives while a run is active. Telegram default: false.
|
||||
# Include detailed iteration/tool/status context in busy acknowledgments
|
||||
# and long-running heartbeats. When true, busy acks show "iteration 21/60,
|
||||
# terminal, 10 min" and the heartbeat shows "⏳ Working — 12 min,
|
||||
# iteration 21/60, terminal". When false (Telegram default), both stay
|
||||
# terse: "Interrupting current task" and "⏳ Working — 12 min, terminal".
|
||||
busy_ack_detail: true
|
||||
|
||||
# What Enter does when Hermes is already busy (CLI and gateway platforms).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue