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(memory): improve warning message for empty/non-dict list arguments
Re-binfc0b38c3047c
diff --git a/nanobot/agent/memory.py b/nanobot/agent/memory.pyindex 80fba5ec9..21fe77da5 100644--- a/nanobot/agent/memory.py+++ b/nanobot/agent/memory.py@@ -133,7 +133,7 @@ class MemoryStore:if args and isinstance(args[0], dict):args = args[0]else:- logger.warning("Memory consolidation: unexpected arguments type list with non-dict content")+ logger.warning("Memory consolidation: unexpected arguments as empty or non-dict list")return Falseif not isinstance(args, dict):logger.warning("Memory consolidation: unexpected arguments type {}", type(args).__name__)