fix: use agent role for first heartbeat telemetry

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dottaandPaperclip committed 2026-04-02 10:47:30 -05:00
1 parent daea94a2ed
commit 85e6371cb6
2 files changed
+36 -3

No files matched your search

+1 -1
View File
@@ -1832,7 +1832,7 @@ export function heartbeatService(db: Db) {
if (isFirstHeartbeat && updated) {
const tc = getTelemetryClient();
if (tc) trackAgentFirstHeartbeat(tc, { agentRole: updated.adapterType });
if (tc) trackAgentFirstHeartbeat(tc, { agentRole: updated.role });
}
if (updated) {