From cd7f8d3fc7bb89d87c0d179cb9dd375e28a03fcc Mon Sep 17 00:00:00 2001 From: Dhanji Prasanna Date: Thu, 2 Oct 2025 14:58:03 +1000 Subject: [PATCH] model only --- crates/g3-cli/src/retro_tui.rs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/crates/g3-cli/src/retro_tui.rs b/crates/g3-cli/src/retro_tui.rs index 5252ce8..c69ab79 100644 --- a/crates/g3-cli/src/retro_tui.rs +++ b/crates/g3-cli/src/retro_tui.rs @@ -220,7 +220,13 @@ impl RetroTui { Self::draw_output_area(f, chunks[1], &state.output_history, state.scroll_offset); // Draw status bar - Self::draw_status_bar(f, chunks[2], &state.status_line, state.context_info, &state.provider_info); + Self::draw_status_bar( + f, + chunks[2], + &state.status_line, + state.context_info, + &state.provider_info, + ); })?; Ok(()) @@ -344,10 +350,10 @@ impl RetroTui { let filled = ((percentage / 100.0) * bar_width as f32) as usize; let meter = format!("[{}{}]", "█".repeat(filled), "░".repeat(bar_width - filled)); - let (provider, model) = provider_info; + let (_, model) = provider_info; let status_text = format!( - " STATUS: {} | CONTEXT: {} {:.1}% ({}/{}) | PROVIDER: {} | MODEL: {} ", - status_line, meter, percentage, used, total, provider, model + " STATUS: {} | CONTEXT: {} {:.1}% ({}/{}) | MODEL: {} ", + status_line, meter, percentage, used, total, model ); let status = Paragraph::new(status_text)