Skip to content

fix(gateway): send markdown media as documents - #34728

Closed
lukas-runge-bot wants to merge 1 commit into
NousResearch:mainfrom
lukas-runge-bot:fix/media-markdown-document
Closed

fix(gateway): send markdown media as documents#34728
lukas-runge-bot wants to merge 1 commit into
NousResearch:mainfrom
lukas-runge-bot:fix/media-markdown-document

Conversation

@lukas-runge-bot

Copy link
Copy Markdown

Summary

  • recognize unquoted .md and .markdown MEDIA paths in gateway extraction
  • cover markdown MEDIA extraction with regression tests
  • ensure standalone Telegram delivery sends markdown attachments via send_document instead of plain text

Test plan

  • venv/bin/python -m pytest tests/gateway/test_platform_base.py::TestExtractMedia tests/tools/test_send_message_telegram_proxy.py -q -o 'addopts='

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery platform/telegram Telegram bot adapter labels May 29, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Competing with #29374, #31561, #33269, #33206, #34724 and others for the same MEDIA markdown attachment fix. Root issue: #31560. Note: #29609 (dynamic derivation) is the preferred approach per prior triage.

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/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants