Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Changed agent_type kwarg

Dillon DuPont3dfed017d8e5
diff --git a/libs/python/agent/agent/callbacks/telemetry.py b/libs/python/agent/agent/callbacks/telemetry.py
index 19e5e6b97a..b74f2893ed 100644
--- a/libs/python/agent/agent/callbacks/telemetry.py
+++ b/libs/python/agent/agent/callbacks/telemetry.py
@@ -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
}