feat(agent): include tools in agent status output

Added the tools attribute to the AIAgent class's status output, ensuring that the current tools used by the agent are included in the status information. This enhancement improves the visibility of the agent's capabilities during runtime.
This commit is contained in:
teknium1 2026-03-02 00:13:41 -08:00
parent 47289ba6f1
commit 0512ada793

View file

@ -1153,6 +1153,7 @@ class AIAgent:
"session_start": self.session_start.isoformat(),
"last_updated": datetime.now().isoformat(),
"system_prompt": self._cached_system_prompt or "",
"tools": self.tools or [],
"message_count": len(cleaned),
"messages": cleaned,
}