fix: llm capture

This commit is contained in:
amhsirak
2025-12-12 03:33:25 +05:30
parent d8de5031d3
commit b3ca342224

View File

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