From 75a6e2f2977fb04827ffff5f0f42841a38945481 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Thu, 5 Mar 2026 10:43:29 -0500 Subject: [PATCH] Widen MODEL column from 24 to 30 chars in CLI tables Accommodates longer model names like gemini-3.1-flash-lite-preview in both `models list` and `models test` output. Co-Authored-By: Claude Opus 4.6 --- crates/arc-llm/src/cli.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/arc-llm/src/cli.rs b/crates/arc-llm/src/cli.rs index f4687bfbf..748611bbc 100644 --- a/crates/arc-llm/src/cli.rs +++ b/crates/arc-llm/src/cli.rs @@ -105,7 +105,7 @@ fn print_models_table(models: &[crate::types::ModelInfo], s: &Styles) { println!( "{}", s.bold_dim.apply_to(format!( - "{:<24} {:<12} {:<24} {:>10} {:>7} {:>7} {:>10}", + "{:<30} {:<12} {:<24} {:>10} {:>7} {:>7} {:>10}", "MODEL", "PROVIDER", "ALIASES", "CONTEXT", "COST", "", "SPEED", )), ); @@ -113,7 +113,7 @@ fn print_models_table(models: &[crate::types::ModelInfo], s: &Styles) { let aliases = model.aliases.join(", "); println!( "{} {} {} {:>10} {:>7} / {:<7} {}", - s.bold.apply_to(format!("{:<24}", model.id)), + s.bold.apply_to(format!("{:<30}", model.id)), s.dim.apply_to(format!("{:<12}", model.provider)), s.dim.apply_to(format!("{:<24}", aliases)), format_context_window(model.context_window), @@ -398,7 +398,7 @@ async fn test_models(provider: Option<&str>, model: Option<&str>, s: &Styles) -> println!( "{}", s.bold_dim.apply_to(format!( - "{:<24} {:<12} {:>10} {:>7} {:>7} {:>10} RESULT", + "{:<30} {:<12} {:>10} {:>7} {:>7} {:>10} RESULT", "MODEL", "PROVIDER", "CONTEXT", "COST", "", "SPEED", )), ); @@ -427,7 +427,7 @@ async fn test_models(provider: Option<&str>, model: Option<&str>, s: &Styles) -> println!( "{} {} {:>10} {:>7} / {:<7} {} {}", - s.bold.apply_to(format!("{:<24}", info.id)), + s.bold.apply_to(format!("{:<30}", info.id)), s.dim.apply_to(format!("{:<12}", info.provider)), format_context_window(info.context_window), format_cost(info.input_cost_per_million),