MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / TotalUsage

Method TotalUsage

commands.go:57–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55// provider that does just satisfies this implicit contract.
56type tokenReporter interface {
57 TotalUsage() api.Usage
58 EstimatedCostUSD() float64
59}
60

Callers 2

cmdTokensFunction · 0.65
mainFunction · 0.65

Implementers 2

AnthropicProviderinternal/provider/anthropic.go
OpenAIProviderinternal/provider/openai.go

Calls

no outgoing calls

Tested by

no test coverage detected