mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-28 23:11:19 -07:00
Fix: Update system instruction when GEMINI.md memory is loaded or refreshed (#12136)
This commit is contained in:
@@ -86,6 +86,8 @@ export const memoryCommand: SlashCommand = {
|
||||
const { memoryContent, fileCount } =
|
||||
await refreshServerHierarchicalMemory(config);
|
||||
|
||||
await config.updateSystemInstructionIfInitialized();
|
||||
|
||||
const successMessage =
|
||||
memoryContent.length > 0
|
||||
? `Memory refreshed successfully. Loaded ${memoryContent.length} characters from ${fileCount} file(s).`
|
||||
|
||||
Reference in New Issue
Block a user