hermes-agent/gateway
ee-blog f6aa1965d7 fix(telegram): fallback to document when photo dimensions exceed limits
Telegram's send_photo has dimension limits (sum of width+height <= 10000px).
When sending large screenshots or tall images, the API returns
'Photo_invalid_dimensions' error.

Fix: Catch this specific error in send_image_file() and automatically
fallback to send_document() which has no dimension limits (only 50MB size).

This is similar to the existing 5MB URL fallback (commit 542faf22) but
handles local files with dimension issues instead of URL size issues.
2026-05-04 02:33:09 -07:00
..
builtin_hooks
…
platforms fix(telegram): fallback to document when photo dimensions exceed limits 2026-05-04 02:33:09 -07:00
__init__.py
…
channel_directory.py feat: complete plugin platform parity — all 12 integration points 2026-04-29 21:56:51 -07:00
config.py fix(gateway): bridge top-level require_mention to Telegram config 2026-05-03 16:59:46 -07:00
delivery.py fix(gateway): preserve case-sensitive chat IDs in DeliveryTarget.parse 2026-05-01 14:01:26 -07:00
display_config.py
…
hooks.py fix(plugins): register dynamically-loaded modules in sys.modules before exec 2026-04-29 23:34:35 -07:00
mirror.py
…
pairing.py
…
platform_registry.py feat(irc): add interactive setup 2026-04-29 21:56:51 -07:00
restart.py
…
run.py fix(gateway): move quick-command dispatch before built-in handlers 2026-05-04 01:39:23 -07:00
runtime_footer.py
…
session.py fix(gateway): resume sessions after crash/restart instead of blanket suspend 2026-05-03 03:54:03 -07:00
session_context.py
…
status.py fix(gateway): write restart markers atomically and fix Windows lock collisions 2026-04-30 19:58:16 -07:00
sticker_cache.py
…
stream_consumer.py chore(salvage): strip duplicated/merge-corrupted blocks from PR #17664 2026-04-29 21:56:51 -07:00
whatsapp_identity.py
…