chore: improve stats panel layout

This commit is contained in:
0xallam
2026-01-22 11:17:32 -08:00
parent 5f77dd7052
commit a97836c335
2 changed files with 2 additions and 3 deletions

View File

@@ -1229,7 +1229,7 @@ class StrixTUIApp(App): # type: ignore[misc]
stats_content.append(stats_text)
version = get_package_version()
stats_content.append(f"\n v{version}", style="white")
stats_content.append(f"\nv{version}", style="white")
from rich.panel import Panel

View File

@@ -372,7 +372,6 @@ def build_tui_stats_text(tracer: Any, agent_config: dict[str, Any] | None = None
if agent_config:
llm_config = agent_config["llm_config"]
model = getattr(llm_config, "model_name", "Unknown")
stats_text.append("", style="#22c55e")
stats_text.append(model, style="white")
llm_stats = tracer.get_total_llm_stats()
@@ -380,7 +379,7 @@ def build_tui_stats_text(tracer: Any, agent_config: dict[str, Any] | None = None
total_tokens = total_stats["input_tokens"] + total_stats["output_tokens"]
if total_tokens > 0:
stats_text.append("\n ")
stats_text.append("\n")
stats_text.append(f"{format_token_count(total_tokens)} tokens", style="white")
if total_stats["cost"] > 0: