Files
hermes-agent/plugins
teknium1 7f2b64f7a2 fix(platforms): set media_text_inlined in the sibling document paths
The Feishu fix on this branch populates MessageEvent.media_text_inlined so
run_inbound's document note stops claiming "Its content has been included
below" when a text attachment was NOT inlined (>100 KB gate or decode
failure); run_inbound treats a missing flag as inlined. Telegram, Discord,
Slack, the WhatsApp bridge adapter and whatsapp_cloud inline "[Content of
…]" the same way but never set the flag, so their notes lied on the
skip path. Mirror the Feishu/buzz per-attachment contract in each: False
for every cached attachment, flipped to True only when the text was
actually injected.

One parametrized (small→True / large→False) test per adapter in the
existing per-platform test files.
2026-09-18 10:14:38 -07:00
..