MCPcopy Create free account
hub / github.com/alibaba/open-code-review / TotalCacheWriteTokens

Method TotalCacheWriteTokens

cmd/opencodereview/shared.go:247–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

245 TotalTokensUsed() int64
246 TotalCacheReadTokens() int64
247 TotalCacheWriteTokens() int64
248 Warnings() []agent.AgentWarning
249 // ProjectSummary is the markdown project-level summary produced by
250 // scan's PROJECT_SUMMARY_TASK. Empty for review mode and for scans

Callers 7

TotalCacheWriteTokensMethod · 0.65
TestRecordUsageFunction · 0.65
TestAgent_GettersFunction · 0.65
TotalCacheWriteTokensMethod · 0.65
emitFailureUsageFunction · 0.65
emitRunResultFunction · 0.65

Implementers 3

Agentinternal/scan/agent.go
Agentinternal/agent/agent.go
mockResultProvidercmd/opencodereview/emit_run_result_tes

Calls

no outgoing calls

Tested by 3

TestRecordUsageFunction · 0.52
TestAgent_GettersFunction · 0.52