rhombus-node-mcp 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,7 +55,6 @@ export async function getFaceEvents(args, timeZone, requestModifiers, sessionId)
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
// one last sweep of null values
|
|
58
|
-
console.log("filteredArgs", filteredArgs);
|
|
59
58
|
filteredArgs = removeNulls(filteredArgs);
|
|
60
59
|
const response = await postApi({
|
|
61
60
|
route: "/faceRecognition/faceEvent/findFaceEventsByOrg",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TOOL_ARGS, OUTPUT_SCHEMA, RequestType, } from "../types/report-tool-types.js";
|
|
2
2
|
import { getOccupancyCountReport, getSummaryCountReport, getOccupancyEnabledCameras, getLineCrossingEnabledCameras, getThresholdCrossingCountReport, findPromptConfigurations, getCustomLLMReport, } from "../api/report-tool-api.js";
|
|
3
|
+
import { logger } from "../logger.js";
|
|
3
4
|
const TOOL_NAME = "report-tool";
|
|
4
5
|
const TOOL_DESCRIPTION = `
|
|
5
6
|
This tool generates summary count reports for various types of data within the Rhombus system.
|
|
@@ -150,7 +151,7 @@ const TOOL_HANDLER = async (args, extra) => {
|
|
|
150
151
|
const { promptUuid, promptType, rangeStart, rangeEnd, interval } = customLLMReportRequest;
|
|
151
152
|
const report = await getCustomLLMReport(promptUuid, promptType, new Date(rangeStart).getTime(), new Date(rangeEnd).getTime(), interval, extra._meta?.requestModifiers, extra.sessionId);
|
|
152
153
|
// Log the report data to help debug
|
|
153
|
-
|
|
154
|
+
logger.log("📊 Custom LLM Report Tool Response:", JSON.stringify({
|
|
154
155
|
promptType,
|
|
155
156
|
hasError: report?.error,
|
|
156
157
|
dataPointsCount: report?.timeSeriesDataPoints?.length,
|