-
Notifications
You must be signed in to change notification settings - Fork 13k
Refine system prompt instructions for save_memory tool #15678
Copy link
Copy link
Labels
area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent QualityIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitystatus/need-triageIssues that need to be triaged by the triage automation.Issues that need to be triaged by the triage automation.workstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.
Metadata
Metadata
Assignees
Labels
area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent QualityIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitystatus/need-triageIssues that need to be triaged by the triage automation.Issues that need to be triaged by the triage automation.workstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreamsLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.⛔ Do not contribute. Internal roadmap item.
Type
Fields
Give feedbackNo fields configured for Task.
What happened?
I asked Gemini CLI to 'remember' something. It told me it would but didn't save the memory with save_memory tool until I pressed it.
With Gemini 2.5 PRO, I had to ask "Are you going to remember that" before it thought to save the memory.
With Gemini 3 I had to tell it 3 times:
What did you expect to happen?
I would expect Gemini CLI to proactively write memories anytime it's told to "remember" something. Right now it seems to interpret "remember" as a suggestion to adhere to specific guidance during this session. It should at the very least ask.
I think this can be improved by steering the model via prompting. See #15300
Client information
Client Information
Run
geminito enter the interactive CLI, then run the/aboutcommand.Login information
I logged in via a Google Account
Anything else we need to know?
No response