Files
hermes-agent/plugins/platforms
Teknium 3b42157858
Some checks failed
Live provider canaries / Live provider canaries (push) Has been cancelled
fix(telegram): a typing tick no longer freezes a group's streamed preview
5948ab52e2 made a typing keep-alive take the chat's shared send+edit
slot when it fired. The stream consumer SKIPS an interim edit while that
slot is held, and `_keep_typing` ticks every 2 s with a 1 s slot, so in a
group (which streams by editing one message) typing kept stealing the
slot from the preview edits: the preview stayed on its first chunk. When
Telegram then refused the finalize edit, the continuation was computed
from that stale prefix and the first message read "<<A-fin-stre", so the
answer's opening never appeared whole.

Typing still checks the slot and the flood window (it stays quiet while
a send or edit holds the chat) and still sends at most one call per chat
per 2 s, so #99643's fix (N DM topics multiplying sendChatAction) is
kept. It just no longer claims the slot.

Release-only e2e red on v0.23.1 rc.2 (run 42720042886):
test_telegram_contract.py::test_contract[stream_finalize_rejected_group],
8/8 locally on 4f6ebb9afe. Bisected (DM cell + group cell together, as
CI runs the file) to 5948ab52e2. With this change: the pair passes 3/3
and the whole contract file passes (14/14).
2026-11-09 16:24:33 -08:00
..
…
…
…
2026-11-03 21:06:29 +01:00