mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-15 05:47:18 -07:00
Fix message too large issue. (#19499)
This commit is contained in:
committed by
GitHub
parent
353e10b7da
commit
ce20a662f1
@@ -226,8 +226,10 @@ describe('ChatCompressionService', () => {
|
||||
false,
|
||||
mockModel,
|
||||
mockConfig,
|
||||
true,
|
||||
false,
|
||||
);
|
||||
// It should now attempt compression even if previously failed (logic removed)
|
||||
// But since history is small, it will be NOOP due to threshold
|
||||
expect(result.info.compressionStatus).toBe(CompressionStatus.NOOP);
|
||||
expect(result.newHistory).toBeNull();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user