mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-09 03:20:56 +00:00
Shorten token/tool labels in CLI output for brevity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f0ea4d2971
commit
dbf9a7413f
3 changed files with 4 additions and 4 deletions
|
|
@ -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)"
|
||||
)),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue