mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-30 19:09:28 +00:00
Telegram clients split messages above 4096 chars into multiple updates. A long '/queue <prompt>' paste arrives as a COMMAND chunk near the limit plus plain TEXT continuation chunk(s). _handle_command dispatched the command chunk immediately, so the continuation landed as a separate plain message that interrupted the running agent instead of being queued. Near-limit (>= _SPLIT_THRESHOLD) command chunks now route through the same text-batching pipeline used for split plain-text messages, merging the continuation before dispatch. Short commands (/stop, /approve, ...) keep the immediate path and are never delayed. |
||
|---|---|---|
| .. | ||
| browser | ||
| context_engine | ||
| cron_providers | ||
| dashboard_auth | ||
| disk-cleanup | ||
| google_meet | ||
| hermes-achievements | ||
| image_gen | ||
| kanban | ||
| memory | ||
| model-providers | ||
| observability | ||
| platforms | ||
| security-guidance | ||
| spotify | ||
| teams_pipeline | ||
| video_gen | ||
| web | ||
| __init__.py | ||
| plugin_utils.py | ||