fix(triggers): reject deliveries to disabled channels

This commit is contained in:
Pei Futong
2026-07-19 22:33:29 +08:00
committed by chengyongru
parent a6b68178aa
commit 91514ad0b1
4 changed files with 54 additions and 1 deletions
+1
View File
@@ -2076,6 +2076,7 @@ def _run_gateway(
run_local_trigger_queue(
store=trigger_store,
submit_turn=getattr(agent, "submit_local_trigger_turn", None),
is_channel_available=lambda name: name in channels.channels,
),
name="nanobot-local-triggers",
),