usage property
Token usage aggregated across every LLM generation turn in the loop (including the final synthesis turn). Lets a plain generate() that routed through the tool loop report the same usage a non-tool generate would.
Implementation
@$pb.TagNumber(9)
$0.TokenUsage get usage => $_getN(8);
Implementation
@$pb.TagNumber(9)
set usage($0.TokenUsage value) => $_setField(9, value);