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:
parent
c580d721fb
commit
c6639fe093
1 changed files with 4 additions and 3 deletions
|
|
@ -45,9 +45,10 @@ pub struct ContainerView {
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||||
pub parent: Option<String>,
|
pub parent: Option<String>,
|
||||||
/// The Claude model the agent's harness is currently using, read from
|
/// The Claude model the agent's harness is currently using, read from
|
||||||
/// `harness/hyperhive-model`. `None` when the agent has never started
|
/// `state/hyperhive-harness.json["active_model"]`. `None` when the
|
||||||
/// a turn or the file is absent. Only meaningful when `running` is
|
/// agent has never started a turn or the field is absent. Only
|
||||||
/// true; the dashboard skips the badge for stopped containers.
|
/// meaningful when `running` is true; the dashboard skips the badge
|
||||||
|
/// for stopped containers.
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||||
pub active_model: Option<String>,
|
pub active_model: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue