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
feat(channels): add send_progress option to control progress message delivery
Yingwen Luo-LUOYW0c412b3728a4
diff --git a/nanobot/channels/manager.py b/nanobot/channels/manager.pyindex 6fbab04bc..8a0388365 100644--- a/nanobot/channels/manager.py+++ b/nanobot/channels/manager.py@@ -193,6 +193,9 @@ class ChannelManager:timeout=1.0)+ if msg.metadata.get("_progress") and not self.config.channels.send_progress:+ continue+channel = self.channels.get(msg.channel)if channel:try:diff --git a/nanobot/config/schema.py b/nanobot/config/schema.pyindex 966d11da3..bd602dc14 100644--- a/nanobot/config/schema.py+++ b/nanobot/config/schema.py@@ -168,6 +168,7 @@ class QQConfig(Base):class ChannelsConfig(Base):"""Configuration for chat channels."""+ send_progress: bool = Falsewhatsapp: WhatsAppConfig = Field(default_factory=WhatsAppConfig)telegram: TelegramConfig = Field(default_factory=TelegramConfig)discord: DiscordConfig = Field(default_factory=DiscordConfig)