@yhong91/vibetime 0.1.19 → 0.1.20
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.
- package/bin/vibetime.mjs +4 -1
- package/package.json +1 -1
package/bin/vibetime.mjs
CHANGED
|
@@ -1202,7 +1202,7 @@ function countTextLines(text) {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
1204
|
// src/lib/constants.ts
|
|
1205
|
-
var PACKAGE_VERSION = true ? "0.1.
|
|
1205
|
+
var PACKAGE_VERSION = true ? "0.1.20" : "0.1.1";
|
|
1206
1206
|
var DEFAULT_API_URL = "http://121.196.224.82:3001";
|
|
1207
1207
|
var DEFAULT_BACKFILL_BATCH_SIZE = 50;
|
|
1208
1208
|
var DEFAULT_BACKFILL_BATCH_BYTES = 800 * 1024;
|
|
@@ -3610,6 +3610,9 @@ async function parseCodebuddyTraceFile(filePath, options) {
|
|
|
3610
3610
|
if (span.type === "generation") {
|
|
3611
3611
|
generationCount++;
|
|
3612
3612
|
const usage = extractUsageFromGenerationSpan(span) ?? modelUsageFromTrace(trace, generationCount, totalGenerations);
|
|
3613
|
+
if (!usage && !model) {
|
|
3614
|
+
continue;
|
|
3615
|
+
}
|
|
3613
3616
|
push(baseEvent({
|
|
3614
3617
|
ts,
|
|
3615
3618
|
type: "model.usage",
|
package/package.json
CHANGED