Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(usage): group usage by model family #18254

Closedastarktc(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/18254/headopened View on GitHub

Showing 21 changed files with 7 additions and 2 deletions (loading 18).

x
0 of 21 viewed, 21 left
1 addition and 0 deletionsapps/mobile/src/features/usage/UsageRouteScreen.tsxModified
View file
@@ -161,6 +161,7 @@
costUsd: hour.costUsd,
totalTokens: hour.totalTokens,
byProvider: hour.byProvider,
+ byFamily: hour.byFamily,
}))
: merged.daily,
[isPast24Hours, merged.daily, merged.hourly],
2 additions and 0 deletionsapps/web/src/components/settings/KeybindingsSettings.logic.test.tsModified
View file
@@ -81,6 +81,8 @@
it("orders Usage bindings and command choices like the page", () => {
const expected = [
"usage.open",
+ "usage.group.harness",
+ "usage.group.family",
"usage.cost",
"usage.tokens",
"usage.limits",
4 additions and 2 deletionsapps/web/src/components/settings/KeybindingsSettings.logic.tsModified
View file
@@ -13,7 +13,7 @@
​
import { shortcutKeyFromEvent } from "../../keybindings";
import { isMacPlatform } from "../../lib/utils";
-import { METRIC_OPTIONS, WINDOW_OPTIONS } from "../usage/usageShortcuts";