From b3ca3422246e5b817c807cf2a1af5d67f6294933 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 12 Dec 2025 03:33:25 +0530 Subject: [PATCH] fix: llm capture --- server/src/api/sdk.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/api/sdk.ts b/server/src/api/sdk.ts index e3c6ac7c..f23bc993 100644 --- a/server/src/api/sdk.ts +++ b/server/src/api/sdk.ts @@ -99,7 +99,10 @@ router.post("/sdk/robots", requireAPIKey, async (req: AuthenticatedRequest, res: } }); - capture("maxun-oss-llm-robot-created", { + const eventName = robotMeta.isLLM + ? "maxun-oss-llm-robot-created" + : "maxun-oss-robot-created"; + capture(eventName, { robot_meta: robot.recording_meta, recording: robot.recording, });