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
fix(cron): respect deliver flag before message tool check
Jiajun Xiee18eab80548e
diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.pyindex 81aeb7d0d..f3f95fd0d 100644--- a/nanobot/cli/commands.py+++ b/nanobot/cli/commands.py@@ -729,7 +729,7 @@ def gateway(response = resp.content if resp else ""message_tool = agent.tools.get("message")- if isinstance(message_tool, MessageTool) and message_tool._sent_in_turn:+ if job.payload.deliver and isinstance(message_tool, MessageTool) and message_tool._sent_in_turn:return responseif job.payload.deliver and job.payload.to and response: