bug: only show tool tokens if > 0 (#985)

This commit is contained in:
Abhi
2025-06-12 15:31:17 -04:00
committed by GitHub
parent 6bb3f27f6c
commit 32da693b91
4 changed files with 17 additions and 6 deletions

View File

@@ -32,7 +32,6 @@ exports[`<SessionSummaryDisplay /> > renders zero state correctly 1`] = `
│ │
│ Input Tokens 0 │
│ Output Tokens 0 │
│ Tool Use Tokens 0 │
│ Thoughts Tokens 0 │
│ Cached Tokens 0 │
│ ────────────────────────── │

View File

@@ -30,7 +30,6 @@ exports[`<StatsDisplay /> > renders zero state correctly 1`] = `
│ │
│ Input Tokens 0 Input Tokens 0 │
│ Output Tokens 0 Output Tokens 0 │
│ Tool Use Tokens 0 Tool Use Tokens 0 │
│ Thoughts Tokens 0 Thoughts Tokens 0 │
│ Cached Tokens 0 Cached Tokens 0 │
│ ───────────────────────────────────────────── ───────────────────────────────────────────── │