diff --git a/hive-ag3nt/src/web_ui.rs b/hive-ag3nt/src/web_ui.rs index 113da430..f2835c1d 100644 --- a/hive-ag3nt/src/web_ui.rs +++ b/hive-ag3nt/src/web_ui.rs @@ -664,8 +664,9 @@ struct DashboardState { /// `None` when no status is set. #[serde(skip_serializing_if = "Option::is_none")] status_set_at: Option, - /// Input token count from the most recent completed turn (`ctx_usage.input_tokens`). - /// `None` until the first turn finishes. + /// Full context-window size from the most recent completed turn + /// (`ctx_usage.context_tokens()` = input + cache-read + cache-creation). + /// `None` until the first turn finishes. Drives the `ctx·Nk` card badge. #[serde(skip_serializing_if = "Option::is_none")] ctx_tokens: Option, /// Effective context-window budget for the current model. Same @@ -714,7 +715,12 @@ async fn api_dashboard_state(State(state): State) -> axum::Json