refactor(telegram): extract runner config and key helper

This commit is contained in:
Peter Steinberger
2026-01-07 22:16:49 +01:00
parent 98d4e8034d
commit 322c5dd936
4 changed files with 56 additions and 47 deletions

View File

@@ -37,6 +37,7 @@ Status: production-ready for bot DMs + groups via grammY. Long-polling by defaul
- Inbound messages are normalized into the shared provider envelope with reply context and media placeholders.
- Group replies require a mention by default (native @mention or `routing.groupChat.mentionPatterns`).
- Replies always route back to the same Telegram chat.
- Long-polling uses grammY runner with per-chat sequencing; overall concurrency is capped by `agent.maxConcurrent`.
## Group activation modes