Skip to content

Commit a599e7d

Browse files
authored
Build fix (#5428)
* fix tests * fix typo
1 parent 3c2790e commit a599e7d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/__tests__/cost/__snapshots__/registrySnapshots.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7379,7 +7379,7 @@ exports[`Registry Snapshots pricing snapshot 1`] = `
73797379
],
73807380
"openrouter": [
73817381
{
7382-
"input": 5.2775e-7,
7382+
"input": 5.275e-7,
73837383
"output": 0.000003165,
73847384
"threshold": 0,
73857385
},
@@ -8904,8 +8904,8 @@ exports[`Registry Snapshots verify registry state 1`] = `
89048904
"claude-3.5-haiku:anthropic:*",
89058905
],
89068906
"totalArchivedConfigs": 0,
8907-
"totalEndpoints": 259,
8908-
"totalModelProviderConfigs": 259,
8907+
"totalEndpoints": 260,
8908+
"totalModelProviderConfigs": 260,
89098909
"totalModelsWithPtb": 96,
89108910
"totalProviders": 21,
89118911
}

valhalla/jawn/src/managers/ModelUsageStatsManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export class ModelUsageStatsManager {
112112
const top9Data = top9Result.data ?? [];
113113
const top9Set = new Set(top9Data.map((r) => r.model));
114114
const inClause = top9Data.length > 0
115-
? top9Data.map((r) => `'${r.provider}'`).join(",")
115+
? top9Data.map((r) => `'${r.model}'`).join(",")
116116
: "''";
117117

118118
// Step 2: Get "other" total + previous period data + time series (parallel)

0 commit comments

Comments
 (0)