mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 19:14:33 -07:00
refactor(cli): standardize on 'reload' verb for all components (#20654)
Co-authored-by: Krishna Korade <MushuEE@users.noreply.github.com> Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
@@ -136,7 +136,7 @@ describe('memory commands', () => {
|
||||
if (result.type === 'message') {
|
||||
expect(result.messageType).toBe('info');
|
||||
expect(result.content).toBe(
|
||||
'Memory refreshed successfully. Loaded 33 characters from 2 file(s).',
|
||||
'Memory reloaded successfully. Loaded 33 characters from 2 file(s)',
|
||||
);
|
||||
}
|
||||
});
|
||||
@@ -153,7 +153,7 @@ describe('memory commands', () => {
|
||||
if (result.type === 'message') {
|
||||
expect(result.messageType).toBe('info');
|
||||
expect(result.content).toBe(
|
||||
'Memory refreshed successfully. No memory content found.',
|
||||
'Memory reloaded successfully. No memory content found',
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -64,9 +64,9 @@ export async function refreshMemory(
|
||||
let content: string;
|
||||
|
||||
if (memoryContent.length > 0) {
|
||||
content = `Memory refreshed successfully. Loaded ${memoryContent.length} characters from ${fileCount} file(s).`;
|
||||
content = `Memory reloaded successfully. Loaded ${memoryContent.length} characters from ${fileCount} file(s)`;
|
||||
} else {
|
||||
content = 'Memory refreshed successfully. No memory content found.';
|
||||
content = 'Memory reloaded successfully. No memory content found';
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user