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

Function usage

core/src/ahp/executor_tests.rs:66–74  ·  view source on GitHub ↗
(total_tokens: usize)

Source from the content-addressed store, hash-verified

64}
65
66fn usage(total_tokens: usize) -> crate::llm::TokenUsage {
67 crate::llm::TokenUsage {
68 prompt_tokens: total_tokens,
69 completion_tokens: 0,
70 total_tokens,
71 cache_read_tokens: None,
72 cache_write_tokens: None,
73 }
74}
75
76#[tokio::test]
77async fn publish_agent_event_sends_runtime_contract_notifications() {

Calls

no outgoing calls

Tested by

no test coverage detected