mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
# v0.5.18 (2026-07-03)
## Features - **Usage**: track cached tokens + correct input/output/cache cost (#2209) — hodtien - **Codex**: show reset credit expiry details (#2290) — Rafli Ahmad Zulfikar - **NVIDIA**: add new models and capabilities — decolua - **ClinePass**: add provider support — sternelee ## Fixes - **Usage**: dedupe streaming request-details log entries — Qin Li - **Claude**: drop foreign thinking signatures in passthrough — decolua - Prevent non-SSE stream pipe crash and cross-IdP account overwrites (#2244) — KunN-21 - **Kiro**: route IdC auth to regional CodeWhisperer surface (#2297) — Volodymyr Saakian - **Kiro**: add Claude Sonnet 5 model support (#2264) — Edison42 - **Xiaomi-tokenplan**: region selector, key validation, multi-connection (#2251) — MiQieR - **Translator**: strict Anthropic content block compliance (#2225) — Sahrul Ramadhan Hardiansyah - **Kimchi**: strip reasoning_content echo to bound multi-turn input tokens — KunN-21 - **Kimchi**: bump User-Agent to kimchi/0.1.40 (#2256) — Ansh7473 - **Codebuddy-cn**: strip empty tool_calls arrays to preserve reasoning — zmf - **Antigravity**: preserve Claude tool delta index (#2223) — Sutarto Jordan Chrisfivo - **MITM**: generate root CA on server startup (#2228) — Sutarto Jordan Chrisfivo
This commit is contained in:
@@ -8,7 +8,7 @@ const fmtCost = (n) => `$${(n || 0).toFixed(2)}`;
|
||||
|
||||
export default function OverviewCards({ stats }) {
|
||||
return (
|
||||
<div className="grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 sm:gap-4">
|
||||
<div className="grid min-w-0 grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-4 sm:gap-4">
|
||||
<Card className="flex min-w-0 flex-col gap-1 px-4 py-3">
|
||||
<span className="text-text-muted text-sm uppercase font-semibold">Total Requests</span>
|
||||
<span className="truncate text-2xl font-bold">{fmt(stats.totalRequests)}</span>
|
||||
@@ -17,10 +17,12 @@ export default function OverviewCards({ stats }) {
|
||||
<span className="text-text-muted text-sm uppercase font-semibold">Total Input Tokens</span>
|
||||
<span className="truncate text-2xl font-bold text-primary">{fmt(stats.totalPromptTokens)}</span>
|
||||
</Card>
|
||||
{/* Temporarily hidden: Cached Tokens card
|
||||
<Card className="flex min-w-0 flex-col gap-1 px-4 py-3">
|
||||
<span className="text-text-muted text-sm uppercase font-semibold">Cached Tokens</span>
|
||||
<span className="truncate text-2xl font-bold text-info">{fmt(stats.totalCachedTokens)}</span>
|
||||
</Card>
|
||||
*/}
|
||||
<Card className="flex min-w-0 flex-col gap-1 px-4 py-3">
|
||||
<span className="text-text-muted text-sm uppercase font-semibold">Output Tokens</span>
|
||||
<span className="truncate text-2xl font-bold text-success">{fmt(stats.totalCompletionTokens)}</span>
|
||||
|
||||
Reference in New Issue
Block a user