docs: fix stale field doc for ContainerView::active_model

The field was originally backed by harness/hyperhive-model; after the
rework (fab6259d) it reads from state/hyperhive-harness.json. Update
the struct-level doc comment to match.
This commit is contained in:
iris 2026-06-27 21:14:07 +02:00
commit c6639fe093

View file

@ -45,9 +45,10 @@ pub struct ContainerView {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub parent: Option<String>,
/// The Claude model the agent's harness is currently using, read from
/// `harness/hyperhive-model`. `None` when the agent has never started
/// a turn or the file is absent. Only meaningful when `running` is
/// true; the dashboard skips the badge for stopped containers.
/// `state/hyperhive-harness.json["active_model"]`. `None` when the
/// agent has never started a turn or the field is absent. Only
/// meaningful when `running` is true; the dashboard skips the badge
/// for stopped containers.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub active_model: Option<String>,
}