• Telegram group with forum topics enabled (5 topics)
• requireMention: false for the group (I want the bot to see every message)
• maxConcurrent: 1
• contextPruning: cache-ttl, 30m
• Model: GLM (ZhipuAI)
The problem: When someone sends 1 message in any topic, ALL topic sessions trigger simultaneously. Each one makes an API call with its own context (some are 100KB+). Even with maxConcurrent: 1, they queue up and hit the GLM API rate limit, causing timeout errors.
What I've tried:
• requireMention: true → fixes it but I don't want mentions
• maxConcurrent: 1 → they still queue up one by one
• Manual session cleanup → works temporarily but sessions rebuild
Questions:
- Is there a way to make only the topic where the message was sent respond (not all topics)?
- Is there an ignoreNonTargeted or similar config for topics?
- Any other workaround for forum groups without requiring mentions?
Config:
channels.telegram.groups.-1003852106439.requireMention: false
agents.defaults.maxConcurrent: 1
agents.defaults.contextPruning: cache-ttl, ttl: 30m