📊 feat: Granular Tool Token Breakdown with Deferred Splits

This commit is contained in:
Danny Avila 2026-06-11 00:06:55 -04:00
parent e5ab7cf1b1
commit 1843cff325
6 changed files with 127 additions and 7 deletions

View file

@ -215,6 +215,7 @@ describe('usage events through the real agents pipeline', () => {
expect(effectiveInstructionTokens).toBeGreaterThan(0);
expect(remainingContextTokens).toBeGreaterThan(0);
expect(remainingContextTokens).toBeLessThan(contextBudget);
expect(breakdown.toolTokenCounts.add).toBeGreaterThan(0);
}
/** Tool loop grows the context between calls */