MCPcopy Create free account
hub / github.com/anus-dev/ANUS / createInitialModelMetrics

Function createInitialModelMetrics

packages/core/src/telemetry/uiTelemetry.ts:69–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69const createInitialModelMetrics = (): ModelMetrics => ({
70 api: {
71 totalRequests: 0,
72 totalErrors: 0,
73 totalLatencyMs: 0,
74 },
75 tokens: {
76 prompt: 0,
77 candidates: 0,
78 total: 0,
79 cached: 0,
80 thoughts: 0,
81 tool: 0,
82 },
83});
84
85const createInitialMetrics = (): SessionMetrics => ({
86 models: {},

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected