mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-17 05:20:23 -07:00
fix stale state in /rewind
This commit is contained in:
@@ -196,7 +196,9 @@ describe('ChatCompressionService', () => {
|
||||
} as unknown as Config;
|
||||
|
||||
vi.mocked(getInitialChatHistory).mockImplementation(
|
||||
async (_config, extraHistory) => extraHistory || [],
|
||||
async (_config, extraHistory?: readonly Content[]) => [
|
||||
...(extraHistory || []),
|
||||
],
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user