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.
| 495 | * budget against EDGE_FUNCTION_BUDGET_MS. Wave 2.5 BLOCKER-1 + BLOCKER-2. |
| 496 | */ |
| 497 | interface BudgetTracker { |
| 498 | callsMade: number; |
| 499 | startedAt: number; |
| 500 | check(): void; |
| 501 | } |
| 502 | |
| 503 | function makeBudgetTracker(): BudgetTracker { |
| 504 | return { |
no outgoing calls
no test coverage detected
searching dependent graphs…