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
style(agent): remove inline comment in runtime-context history filter
Kim286e67ddef6c
diff --git a/nanobot/agent/loop.py b/nanobot/agent/loop.pyindex eb34b312c..7ae263425 100644--- a/nanobot/agent/loop.py+++ b/nanobot/agent/loop.py@@ -472,8 +472,6 @@ class AgentLoop:and isinstance(entry.get("content"), str)and entry["content"].startswith(ContextBuilder._RUNTIME_CONTEXT_TAG)):- # Runtime metadata is injected per-turn for model context only; do not persist it- # into long-lived session history to avoid semantic drift and repetitive replies.continueif entry.get("role") == "user" and isinstance(entry.get("content"), list):entry["content"] = [