Skip to content

The agent that grows with you

test(e2e): discord require-mention contract measures the trigger gate (history backfill off)

teknium1e9f38bba7b74
diff --git a/tests/e2e/core/platforms/_drv_discord.py b/tests/e2e/core/platforms/_drv_discord.py
index 65e186c33ba..0f8ecdd5a39 100644
--- a/tests/e2e/core/platforms/_drv_discord.py
+++ b/tests/e2e/core/platforms/_drv_discord.py
@@ -56,6 +56,9 @@ class DiscordDriver:
"require_mention": True,
# replies land inline in the group channel (contract parity); threads are implemented too
"auto_thread": False,
+ # history backfill deliberately feeds recent unmentioned chatter into a mentioned turn as
+ # context; off here so the require-mention contract measures the trigger gate alone
+ "history_backfill": False,
}}}}
def gateway_env(self) -> Dict[str, str]: