mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-28 12:44:28 +00:00
📊 feat: Granular Tool Token Breakdown with Deferred Splits
This commit is contained in:
parent
e5ab7cf1b1
commit
1843cff325
6 changed files with 127 additions and 7 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue