@rallycry/conveyor-agent 4.7.0 → 4.7.1
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.
|
@@ -677,7 +677,8 @@ function handleSuccessResult(event, host, context, startTime) {
|
|
|
677
677
|
let queryInputTokens = 0;
|
|
678
678
|
let contextWindow = 0;
|
|
679
679
|
for (const data of Object.values(modelUsage)) {
|
|
680
|
-
|
|
680
|
+
const d = data;
|
|
681
|
+
queryInputTokens += (d.inputTokens ?? 0) + (d.cacheReadInputTokens ?? 0) + (d.cacheCreationInputTokens ?? 0);
|
|
681
682
|
const cw = data.contextWindow ?? 0;
|
|
682
683
|
if (cw > contextWindow) contextWindow = cw;
|
|
683
684
|
}
|
|
@@ -3776,4 +3777,4 @@ export {
|
|
|
3776
3777
|
ProjectRunner,
|
|
3777
3778
|
FileCache
|
|
3778
3779
|
};
|
|
3779
|
-
//# sourceMappingURL=chunk-
|
|
3780
|
+
//# sourceMappingURL=chunk-EBCQISOA.js.map
|