Shorten token/tool labels in CLI output for brevity

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-09 00:27:57 -04:00
parent f0ea4d2971
commit dbf9a7413f
3 changed files with 4 additions and 4 deletions

View file

@ -266,7 +266,7 @@ fn print_summary(session: &Session, styles: &Styles) {
eprintln!(
"{}",
styles.dim.apply_to(format!(
"Done ({turn_count} turns, {tool_call_count} tool calls, {token_str} tokens)"
"Done ({turn_count} turns, {tool_call_count} tools, {token_str} toks)"
)),
);
}

View file

@ -327,7 +327,7 @@ impl ProgressUI {
format!(
" {}",
dim.apply_to(format!(
"({} turns, {} tools, {} tokens)",
"({} turns, {} tools, {} toks)",
turn_count,
tool_call_count,
format_tokens_human(total_tokens),

View file

@ -912,7 +912,7 @@ pub async fn run_command(
eprintln!(
"{}",
styles.dim.apply_to(format!(
"Cost: {} ({} tokens)",
"Cost: {} ({} toks)",
format_cost(acc.total_cost),
format_tokens_human(total_tokens)
))
@ -922,7 +922,7 @@ pub async fn run_command(
"{}",
styles
.dim
.apply_to(format!("Tokens: {}", format_tokens_human(total_tokens)))
.apply_to(format!("Toks: {}", format_tokens_human(total_tokens)))
);
}
if acc.total_cache_read_tokens > 0 {