Skip to content

fix(gateway): preserve tables in rich Telegram sends and send_message (#45323) - #45387

Closed
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-45323
Closed

fix(gateway): preserve tables in rich Telegram sends and send_message (#45323)#45387
kyssta-exe wants to merge 1 commit into
NousResearch:mainfrom
kyssta-exe:auto-fix/issue-45323

Conversation

@kyssta-exe

Copy link
Copy Markdown
Contributor

Fixes #45323. Add rewrite_tables parameter to TelegramAdapter.format_message(). Rich Telegram sends and the standalone send_message tool now pass rewrite_tables=False so pipe tables are preserved as raw markdown instead of being rewritten into bullet groups.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery platform/telegram Telegram bot adapter duplicate This issue or pull request already exists labels Jun 13, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #45327 — same rewrite_tables=False approach on the same two paths (TelegramAdapter.format_message rich + standalone send_message), both fixing #45323. #45327 is the earlier open PR.

@tonydwb tonydwb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review Summary

Verdict: Approved

Tiny, focused fix: preserve tables in rich Telegram sends and send_message path. No issues found.

  • Single-concern change
  • No security concerns
  • No debug artifacts

Reviewed by Hermes Agent

@kyssta-exe

Copy link
Copy Markdown
Contributor Author

Duplicate of #45327 — same rewrite_tables=False approach for Telegram rich sends and send_message (#45323). Closing as superseded.

@kyssta-exe kyssta-exe closed this Jun 13, 2026
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 duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists platform/telegram Telegram bot adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Telegram rich tables are rewritten into bullets by the shared formatter

3 participants