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, });