Skip to content

gateway: quiet Telegram operational chatter#31034

Closed
houenyang-momo wants to merge 1 commit into
NousResearch:mainfrom
houenyang-momo:bob/gateway-mobile-quiet-max-iterations
Closed

gateway: quiet Telegram operational chatter#31034
houenyang-momo wants to merge 1 commit into
NousResearch:mainfrom
houenyang-momo:bob/gateway-mobile-quiet-max-iterations

Conversation

@houenyang-momo

Copy link
Copy Markdown
Contributor

Summary

  • make Telegram default to final-answer-first gateway output: no tool-progress stream, no interim assistant updates, no long-running status heartbeat, concise busy acks
  • add per-platform display controls for interim assistant messages, long-running notifications, and detailed busy acknowledgments
  • document opt-in knobs and update gateway tests

Verification

  • venv/bin/python -m pytest tests/gateway/test_display_config.py tests/gateway/test_busy_session_ack.py tests/gateway/test_run_progress_topics.py tests/gateway/test_run_cleanup_progress.py -q
  • venv/bin/python -m ruff check gateway/display_config.py gateway/run.py tests/gateway/test_display_config.py tests/gateway/test_busy_session_ack.py tests/gateway/test_run_progress_topics.py
  • git diff --check

@alt-glitch alt-glitch added type/feature New feature or request comp/gateway Gateway runner, session dispatch, delivery platform/telegram Telegram bot adapter P2 Medium — degraded but workaround exists labels May 23, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Addresses #7161 (default tool_progress to off for messaging users). Builds on merged #28533 (quiet noisy Telegram errors). Adds per-platform display controls for interim messages, long-running notifications, and busy acks.

teknium1 added a commit that referenced this pull request May 27, 2026
…tting

The two new display-resolution sites added by #31034 (busy_ack_detail
and long_running_notifications) wrapped resolve_display_setting() in
try/except Exception. The existing 4 call sites in this file don't —
the function is safe by contract. Match the established pattern and
drop the redundant guards. -16 LOC, no behaviour change.
@teknium1

Copy link
Copy Markdown
Contributor

Merged via PR #33151 — your commit was cherry-picked onto current main with your authorship preserved in git log. The three new platform keys (interim_assistant_messages, long_running_notifications, busy_ack_detail) plus the Telegram-quiet defaults shipped as-is. As a follow-up, we dropped the try/except Exception wrappers around the two new resolve_display_setting() call sites to match the established pattern at the other 4 call sites in the file — net -16 LOC, no behavior change. Thanks for the thoughtful design!

#33151

mathias3 pushed a commit to mathias3/hermes-agent that referenced this pull request May 28, 2026
…tting

The two new display-resolution sites added by NousResearch#31034 (busy_ack_detail
and long_running_notifications) wrapped resolve_display_setting() in
try/except Exception. The existing 4 call sites in this file don't —
the function is safe by contract. Match the established pattern and
drop the redundant guards. -16 LOC, no behaviour change.
Bryce-huang pushed a commit to wbkunlun/hermes-agent that referenced this pull request May 29, 2026
…tting

The two new display-resolution sites added by NousResearch#31034 (busy_ack_detail
and long_running_notifications) wrapped resolve_display_setting() in
try/except Exception. The existing 4 call sites in this file don't —
the function is safe by contract. Match the established pattern and
drop the redundant guards. -16 LOC, no behaviour change.

#AI commit#
mosaiq-systems pushed a commit to mosaiq-systems/hermes-agent that referenced this pull request May 29, 2026
…tting

The two new display-resolution sites added by NousResearch#31034 (busy_ack_detail
and long_running_notifications) wrapped resolve_display_setting() in
try/except Exception. The existing 4 call sites in this file don't —
the function is safe by contract. Match the established pattern and
drop the redundant guards. -16 LOC, no behaviour change.
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…tting

The two new display-resolution sites added by NousResearch#31034 (busy_ack_detail
and long_running_notifications) wrapped resolve_display_setting() in
try/except Exception. The existing 4 call sites in this file don't —
the function is safe by contract. Match the established pattern and
drop the redundant guards. -16 LOC, no behaviour change.
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 P2 Medium — degraded but workaround exists platform/telegram Telegram bot adapter type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants