Files
hermes-agent/plugins
Teknium b594fd97cc fix(gateway): a fragment whose Telegram delete is only queued is continued, never repeated
Review M1 (Mark S.): inside a flood window longer than the inline cap,
Telegram's delete_message hands the delete to a background task and returns
True at once. The fallback read that as "fragment gone" and sent the whole
answer; a later refused delete left the fragment beside a full copy.
Fragment replacement now uses delete_message_confirmed: True only once the
message is deleted, and on a long window False with nothing queued (a queued
delete would later remove the prefix the tail-only send relies on). Ordinary
best-effort cleanup keeps its deferred behaviour.

Co-authored-by: Mark S. <theoldwizard123@pm.me>
2026-11-13 01:09:24 -08:00
..
…
…