Currently, each gemini CLI invocation starts fresh without memory of previous interactions.
Proposed: Add --continue (-c) or --resume (-r) flag to maintain conversation context across CLI calls. This would allow users to build on previous responses without re-explaining context.
Example:
gemini -p "Explain X"
gemini --continue -p "What about Y?"
this infrastructure already exists in interactive mode, so this should be pretty easy to transfer over:
- /chat save - Save current conversation
- /chat resume - Resume saved conversation
- /chat list - List saved conversations
but then -p commands would need to save every time it is used. so would need to think about this carefully.
Currently, each gemini CLI invocation starts fresh without memory of previous interactions.
Proposed: Add --continue (-c) or --resume (-r) flag to maintain conversation context across CLI calls. This would allow users to build on previous responses without re-explaining context.
Example:
gemini -p "Explain X"
gemini --continue -p "What about Y?"
this infrastructure already exists in interactive mode, so this should be pretty easy to transfer over:
but then -p commands would need to save every time it is used. so would need to think about this carefully.