pub async fn get_agent_token_usage(
pool: &Pool,
agent_instance_hierarchy: &str,
) -> Result<Option<i64>, Error>Expand description
Current most-recent agent-completion total_tokens snapshot for an
AIH (objectiveai.agent_token_usage). None when no usage has been
recorded for that AIH yet.