diff options
| author | uttamkanodia14 <[email protected]> | 2025-07-10 00:19:30 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-09 18:49:30 +0000 |
| commit | 063481faa4b1c86868689580ff0fbd8cb04141e3 (patch) | |
| tree | f7b38f46a95cd22bbf15a7454963ba834e15d134 /packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | |
| parent | 6c12f9e0d902c60fa5e01422018ce773c405da8d (diff) | |
Adding TurnId to Tool call and API responses and error logs. (#3039)
Co-authored-by: Scott Densmore <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.test.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/slashCommandProcessor.test.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts index 137098df..45f52074 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts @@ -159,7 +159,7 @@ describe('useSlashCommandProcessor', () => { stats: { sessionStartTime: new Date('2025-01-01T00:00:00.000Z'), cumulative: { - turnCount: 0, + promptCount: 0, promptTokenCount: 0, candidatesTokenCount: 0, totalTokenCount: 0, @@ -1311,7 +1311,10 @@ describe('useSlashCommandProcessor', () => { hook.rerender(); }); expect(hook.result.current.pendingHistoryItems).toEqual([]); - expect(mockGeminiClient.tryCompressChat).toHaveBeenCalledWith(true); + expect(mockGeminiClient.tryCompressChat).toHaveBeenCalledWith( + 'Prompt Id not set', + true, + ); expect(mockAddItem).toHaveBeenNthCalledWith( 2, expect.objectContaining({ |
