Changed agent_type kwarg

This commit is contained in:
Dillon DuPont
2025-07-28 13:49:57 -04:00
parent d9cd8154fc
commit 3dfed017d8

View File

@@ -60,7 +60,7 @@ class TelemetryCallback(AsyncCallbackHandler):
"""Record agent type/model and session initialization."""
agent_info = {
"session_id": self.session_id,
"agent_type": self.agent.__class__.__name__,
"agent_type": self.agent.agent_loop.__name__,
"model": getattr(self.agent, 'model', 'unknown'),
**SYSTEM_INFO
}