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(log): remove noisy no-op logs from auto-compact
chengyongrub311759e87fc
diff --git a/nanobot/agent/autocompact.py b/nanobot/agent/autocompact.pyindex ce70337cd..9d9c1e29c 100644--- a/nanobot/agent/autocompact.py+++ b/nanobot/agent/autocompact.py@@ -70,7 +70,6 @@ class AutoCompact:continueif self._is_expired(info.get("updated_at"), now):self._archiving.add(key)- logger.debug("Auto-compact: scheduling archival for {} (idle > {} min)", key, self._ttl)schedule_background(self._archive(key))async def _archive(self, key: str) -> None:@@ -79,7 +78,6 @@ class AutoCompact:session = self.sessions.get_or_create(key)archive_msgs, kept_msgs = self._split_unconsolidated(session)if not archive_msgs and not kept_msgs:- logger.debug("Auto-compact: skipping {}, no un-consolidated messages", key)session.updated_at = datetime.now()self.sessions.save(session)return