fix(triggers): reject deliveries to disabled channels

This commit is contained in:
Pei Futong authored and chengyongru committed 2026-07-19 22:33:29 +08:00
1 parent a6b68178aa
commit 91514ad0b1
4 files changed
+54 -1

No files matched your search

+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",
),