mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-29 23:56:43 +01:00
fix: use agent role for first heartbeat telemetry
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
daea94a2ed
commit
85e6371cb6
2 files changed
+36
-3
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user