Skip to main content

view

Function view 

Source
pub(crate) fn view(
    mstore: &Store,
    identity_store: &Store,
    settings: &HashMap<String, Value>,
    defs: &[AgentDefinition],
    def_id: &str,
) -> Option<Value>
Expand description

What Agents list shows for an agent on a model route: what it has used today and its cap. For an agent on the DeepSeek Harness, which uses its own key and reports no spend, that nothing is measured. None for any other.