From 286e67ddef6cafca737a3edfbe9373a77da0f9ab Mon Sep 17 00:00:00 2001 From: Kim <150593189+KimGLee@users.noreply.github.com> Date: Thu, 26 Feb 2026 14:21:44 +0800 Subject: [PATCH] style(agent): remove inline comment in runtime-context history filter --- nanobot/agent/loop.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nanobot/agent/loop.py b/nanobot/agent/loop.py index eb34b31..7ae2634 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. continue if entry.get("role") == "user" and isinstance(entry.get("content"), list): entry["content"] = [