MCPcopy Create free account
hub / github.com/AI45Lab/Code / usage

Function usage

core/src/orchestration/workflow_budget.rs:152–157  ·  view source on GitHub ↗
(total: usize)

Source from the content-addressed store, hash-verified

150 use std::sync::atomic::AtomicUsize;
151
152 fn usage(total: usize) -> TokenUsage {
153 TokenUsage {
154 total_tokens: total,
155 ..Default::default()
156 }
157 }
158
159 #[tokio::test]
160 async fn accumulates_and_caps() {

Callers 4

accumulates_and_capsFunction · 0.70
uncapped_never_deniesFunction · 0.70
delegates_to_inner_guardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected