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.
This commit is contained in:
teknium1
2026-03-01 23:50:54 -08:00
parent 7b38afc179
commit 47289ba6f1

View File

@@ -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,
}