From 47289ba6f133201179d17a7dbd80013b86c2afee Mon Sep 17 00:00:00 2001 From: teknium1 Date: Sun, 1 Mar 2026 23:50:54 -0800 Subject: [PATCH] feat(agent): include system prompt in agent status output Added the system prompt to the AIAgent class's status output, ensuring that the current system prompt is included in the agent's status information. This enhancement improves visibility into the agent's configuration during runtime. --- run_agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run_agent.py b/run_agent.py index 155c6f8cf..3190a8541 100644 --- a/run_agent.py +++ b/run_agent.py @@ -1152,6 +1152,7 @@ class AIAgent: "platform": self.platform, "session_start": self.session_start.isoformat(), "last_updated": datetime.now().isoformat(), + "system_prompt": self._cached_system_prompt or "", "message_count": len(cleaned), "messages": cleaned, }