Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
suppress unnecessary cron notifications
SJK-py4990c7478b53
diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.pyindex e538688bc..c4aa868ce 100644--- a/nanobot/cli/commands.py+++ b/nanobot/cli/commands.py@@ -452,6 +452,7 @@ def gateway("[Scheduled Task] Timer finished.\n\n"f"Task '{job.name}' has been triggered.\n"f"Scheduled instruction: {job.payload.message}"+ "**IMPORTANT NOTICE:** If there is nothing material to report, reply only with <SILENT_OK>.")# Prevent the agent from scheduling new cron jobs during execution@@ -474,7 +475,7 @@ def gateway(if isinstance(message_tool, MessageTool) and message_tool._sent_in_turn:return response- if job.payload.deliver and job.payload.to and response:+ if job.payload.deliver and job.payload.to and response and "<SILENT_OK>" not in response:from nanobot.bus.events import OutboundMessageawait bus.publish_outbound(OutboundMessage(channel=job.payload.channel or "cli",