mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-18 17:20:38 -07:00
Fix message too large issue. (#19499)
This commit is contained in:
committed by
GitHub
parent
a00eb3b8e6
commit
c276d0c7b6
@@ -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