Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
56
type
tokenReporter
interface
{
57
TotalUsage() api.Usage
58
EstimatedCostUSD() float64
59
}
60
Callers
2
cmdTokens
Function · 0.65
main
Function · 0.65
Implementers
2
AnthropicProvider
internal/provider/anthropic.go
OpenAIProvider
internal/provider/openai.go
Calls
no outgoing calls
Tested by
no test coverage detected