Skip to content

feat(telegram): render markdown tables as row groups#14431

Closed
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/telegram-table-bullets-14160
Closed

feat(telegram): render markdown tables as row groups#14431
LeonSGP43 wants to merge 1 commit into
NousResearch:mainfrom
LeonSGP43:fix/telegram-table-bullets-14160

Conversation

@LeonSGP43

Copy link
Copy Markdown
Contributor

Closes #14160

Summary

  • rewrite Telegram pipe-table formatting into per-row bullet groups instead of fenced code blocks
  • keep existing table detection and fenced-code protection logic intact
  • add regression coverage for table rewriting and end-to-end format_message() behavior

Testing

  • python3 -m pytest -o addopts= tests/gateway/test_telegram_format.py

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery platform/telegram Telegram bot adapter labels Apr 23, 2026
@juancrfig

Copy link
Copy Markdown

Great! Thanks for you helping with that!

@teknium1

Copy link
Copy Markdown
Contributor

Salvaged via #16997 — your commit was cherry-picked onto current main with your authorship preserved (rebase-merge). A small PLATFORM_HINTS addendum was added on top so models emit bullets directly, reducing cases where the rewriter has to synthesize a heading. Thanks for the clean implementation!

@teknium1 teknium1 closed this Apr 28, 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 P3 Low — cosmetic, nice to have platform/telegram Telegram bot adapter type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Telegram: Improve markdown table rendering beyond code-block wrapping

4 participants