mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-17 05:20:23 -07:00
feat(ui): add showContextCompression setting and simplify message wording
This commit is contained in:
@@ -47,8 +47,8 @@ describe('compressCommand', () => {
|
||||
isPending: true,
|
||||
beforePercentage: null,
|
||||
afterPercentage: null,
|
||||
threshold: null,
|
||||
compressionStatus: null,
|
||||
isManual: true,
|
||||
},
|
||||
};
|
||||
await compressCommand.action!(context, '');
|
||||
@@ -80,7 +80,7 @@ describe('compressCommand', () => {
|
||||
compressionStatus: null,
|
||||
beforePercentage: null,
|
||||
afterPercentage: null,
|
||||
threshold: null,
|
||||
isManual: true,
|
||||
},
|
||||
});
|
||||
|
||||
@@ -97,7 +97,7 @@ describe('compressCommand', () => {
|
||||
compressionStatus: Core.CompressionStatus.COMPRESSED,
|
||||
beforePercentage: 20,
|
||||
afterPercentage: 10,
|
||||
threshold: 20,
|
||||
isManual: true,
|
||||
},
|
||||
},
|
||||
expect.any(Number),
|
||||
|
||||
@@ -47,8 +47,8 @@ export const compressCommand: SlashCommand = {
|
||||
isPending: true,
|
||||
beforePercentage: null,
|
||||
afterPercentage: null,
|
||||
threshold: null,
|
||||
compressionStatus: null,
|
||||
isManual: true,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -76,8 +76,8 @@ export const compressCommand: SlashCommand = {
|
||||
isPending: false,
|
||||
beforePercentage,
|
||||
afterPercentage,
|
||||
threshold,
|
||||
compressionStatus: compressed.compressionStatus,
|
||||
isManual: true,
|
||||
},
|
||||
} as HistoryItemCompression,
|
||||
Date.now(),
|
||||
|
||||
Reference in New Issue
Block a user