Remove $ Cost Display
Nucleic-Session: 01482273-9464-4AF9-B9D5-8EECAAFD7B12 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -163,16 +163,13 @@ struct InfoLine: View {
|
||||
}
|
||||
}
|
||||
|
||||
/// Per-turn token accounting + cost — the signal the desktop shows and the old remote dropped.
|
||||
/// Per-turn token accounting — the signal the desktop shows and the old remote dropped.
|
||||
struct UsageRow: View {
|
||||
let usage: Usage
|
||||
var body: some View {
|
||||
HStack(spacing: 10) {
|
||||
if let input = usage.inputTokens { metric("arrow.down", tokens(input)) }
|
||||
if let output = usage.outputTokens { metric("arrow.up", tokens(output)) }
|
||||
if let cost = usage.costUSD, cost > 0 {
|
||||
Text(String(format: "$%.4f", cost)).foregroundStyle(.secondary)
|
||||
}
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
.font(.caption2.monospacedDigit()).foregroundStyle(.secondary)
|
||||
|
||||
Reference in New Issue
Block a user