fix: honor message tool channel for tool dedupe (#1053)

- Treat message tool `channel` as provider hint for dedupe/suppression.
- Prefer NO_REPLY after message tool sends to avoid duplicate replies.

Co-authored-by: Sash Catanzarite <1166151+thesash@users.noreply.github.com>
This commit is contained in:
Sash Catanzarite
2026-01-16 16:23:51 -08:00
committed by GitHub
parent f69298d7eb
commit 89bbbe75a6
5 changed files with 37 additions and 2 deletions

View File

@@ -216,6 +216,7 @@ describe("buildAgentSystemPrompt", () => {
expect(prompt).toContain("message: Send messages and channel actions");
expect(prompt).toContain("### message tool");
expect(prompt).toContain("respond with ONLY: NO_REPLY");
});
it("includes runtime provider capabilities when present", () => {