fix(auto-reply): honor direct silent empty replies

* fix(auto-reply): allow direct silent empty replies

* fix(auto-reply): guard direct silent empty replies
This commit is contained in:
Vyctor Huggo Przozwski da Silva
2026-04-29 16:02:38 -03:00
committed by GitHub
parent eb7d89f4b9
commit 97e2f5b332
4 changed files with 106 additions and 22 deletions

View File

@@ -329,7 +329,7 @@ Replying to a bot message counts as an implicit mention when the channel support
- Per-agent override: `agents.list[].groupChat.mentionPatterns` (useful when multiple agents share a group).
- Mention gating is only enforced when mention detection is possible (native mentions or `mentionPatterns` are configured).
- Group chat prompt context carries the resolved silent-reply instruction every turn; workspace files should not duplicate `NO_REPLY` mechanics.
- Groups where silent replies are allowed treat clean empty or reasoning-only model turns as silent, equivalent to `NO_REPLY`. Direct chats still treat empty replies as a failed agent turn.
- Groups where silent replies are allowed treat clean empty or reasoning-only model turns as silent, equivalent to `NO_REPLY`. Direct chats do the same only when direct silent replies are explicitly allowed; otherwise empty replies remain failed agent turns.
- Discord defaults live in `channels.discord.guilds."*"` (overridable per guild/channel).
- Group history context is wrapped uniformly across channels and is **pending-only** (messages skipped due to mention gating); use `messages.groupChat.historyLimit` for the global default and `channels.<channel>.historyLimit` (or `channels.<channel>.accounts.*.historyLimit`) for overrides. Set `0` to disable.