MCPcopy Index your code
hub / github.com/continuedev/continue / trackSessionUsage

Function trackSessionUsage

extensions/cli/src/session.ts:587–589  ·  view source on GitHub ↗
(cost: number, usage: Usage)

Source from the content-addressed store, hash-verified

585 * Track cost for the current session
586 */
587export function trackSessionUsage(cost: number, usage: Usage): void {
588 SessionManager.getInstance().trackUsage(cost, usage);
589}
590
591/**
592 * Get the total cost for the current session

Callers 1

recordStreamTelemetryFunction · 0.85

Calls 2

trackUsageMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected