Skip to main content

capability_usage_records

Function capability_usage_records 

Source
pub fn capability_usage_records(
    registry: &CapabilityRegistry,
    resolved_capability_configs: &[CapabilityRef],
    tool_definitions: &[ToolDefinition],
) -> Vec<CapabilityUsageRecord>
Expand description

The capability.usage records for the turn’s resolved capabilities and the tools they expose: the attribution every reason backend reports, whichever loop runs the model.