refactor(agent): drop write-only _bot_capability_refreshed attribute (zero readers repo-wide)

This commit is contained in:
Teknium
2026-09-02 11:57:27 -07:00
parent 7df9d3be5c
commit ef9dc88348
-1
View File
@@ -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: