MCPcopy Create free account
hub / github.com/github/gh-aw / hasUsefulFallbackMetrics

Function hasUsefulFallbackMetrics

pkg/cli/audit_expanded.go:215–217  ·  view source on GitHub ↗
(metrics LogMetrics)

Source from the content-addressed store, hash-verified

213}
214
215func hasUsefulFallbackMetrics(metrics LogMetrics) bool {
216 return metrics.TokenUsage > 0 || metrics.Turns > 0 || len(metrics.ToolCalls) > 0
217}
218
219func inferBestEngineMetricsFromContent(logContent string) (LogMetrics, string) {
220 registry := workflow.GetGlobalEngineRegistry()

Callers 2

inferFallbackLogMetricsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected