MCPcopy
hub / github.com/NateBJones-Projects/OB1 / BudgetTracker

Interface BudgetTracker

integrations/smart-ingest/index.ts:497–501  ·  view source on GitHub ↗

Tracks LLM call count against MAX_LLM_CALLS_PER_REQUEST and wall-clock * budget against EDGE_FUNCTION_BUDGET_MS. Wave 2.5 BLOCKER-1 + BLOCKER-2.

Source from the content-addressed store, hash-verified

495 * budget against EDGE_FUNCTION_BUDGET_MS. Wave 2.5 BLOCKER-1 + BLOCKER-2.
496 */
497interface BudgetTracker {
498 callsMade: number;
499 startedAt: number;
500 check(): void;
501}
502
503function makeBudgetTracker(): BudgetTracker {
504 return {

Callers 1

callLLMFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…