From ef9dc8834802f650a024a55129a6fcd3a8f1598e Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 2 Sep 2026 11:57:27 -0700 Subject: [PATCH] refactor(agent): drop write-only _bot_capability_refreshed attribute (zero readers repo-wide) --- agent/conversation_loop.py | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/conversation_loop.py b/agent/conversation_loop.py index 007babc323..16cd498ff5 100644 --- a/agent/conversation_loop.py +++ b/agent/conversation_loop.py @@ -836,7 +836,6 @@ def _restore_or_build_system_prompt(agent, system_message, conversation_history) except Exception: pass agent._cached_system_prompt = agent._build_system_prompt(system_message) - agent._bot_capability_refreshed = True # Persist so the NEXT turn restores the new bytes verbatim (cache break is # once per capability change). on_session_start not re-fired: continuation. if agent._session_db: