Chats Are Not Saving, despite Saving them?
I am using the command: "/chat Save" and it says it saves the checkpoint. but what I noticed is, its only saving the chats if I create a new save file name. I can not add to the prior chat.
For example, see where my last saved checkpoint is, thats when I saved the chat by naming it " /chat save @test".
But If I resume that chat, "test", then use the save function, it will not save anything further to it. I have to make a new file name. What am i doing wrong?
When I close the chat and resume it, its back to the last save point (missing my question about the todays date):
my /chat save is not storing from session to session
my /chat save is not storing from session to session
Ah! okay good to know, so it must be a bug! Unless its intended like that, idk
Fyi @sethtroisi any thoughts on this?
Hi @bl-ue, Im not very technical here. And when I tried to reply with a comment, it forces be to close the issue as solved, even though I dont know if it is. so I had to use a spare account just to type this.... Not sure why I cant leave a comment without closing it.
Anyways, That link you gave, does that mean this has been fixed or replaced?
Automatically record chat history in interactive and non-interactive mode; add interactive and non-interactive conversation resuming and a session browser #4401
I attempted those new resume commands on the page you linked, but had no luck and still cant get existing chats to save, after resuming them.
Hi Greg, haha, I understand. Good job getting this far if you're new to this. The PR that I linked hasn't been merged yet, so the /resume isn't available in Gemini CLI, and that's why it's saying "Unknown command" for /resume. I linked it because the bug you're describing will be fixed when it's merged. You can give #4401 a thumbs up if you feel like it. It might help it get merged.
@jacob314 Please see #4401–this bug, as well as a number of others, are effectively solved by it.
Found possible duplicate issues:
- #2888: (#0.9045242014243723)
Hi Greg, haha, I understand. Good job getting this far if you're new to this. The PR that I linked hasn't been merged yet, so the
/resumeisn't available in Gemini CLI, and that's why it's saying "Unknown command" for/resume. I linked it because the bug you're describing will be fixed when it's merged. You can give #4401 a thumbs up if you feel like it. It might help it get merged.@jacob314 Please see #4401–this bug, as well as a number of others, are effectively solved by it.
Okay, I will thumbs it up. So do I have to update Gemini to get that patch if its eventually merged (updated)? Or does it auto update to it?
Thanks
Thank you! Actually, it seems that coincidentally, a PR adding auto-updating was merged yesterday (#4686). So when the next version of Gemini CLI is released, you'll have to manually update to it, but then after that it should auto-update. And since #4401 probably won't make it to the next release, you'll likely be auto-updated to the release it ships in!
Closing, as this should have been fixed by recent changes. @gregbythebeach please re-open if you are still hitting this.
Closing, as this should have been fixed by recent changes. @gregbythebeach please re-open if you are still hitting this.
Hi, okay I will test it. does that mean I need to download the newest version and install it? Or does it Auto update?
And if I have to install a new version will it erase my currently saved chats?
Thanks
@gregbythebeach It should auto-update, but if it doesn't, just reinstall it the same way you originally installed, probably npm install -g @google/gemini-cli.
@gregbythebeach It should auto-update, but if it doesn't, just reinstall it the same way you originally installed, probably
npm install -g @google/gemini-cli. this is the version I have, just checked.
@gregbythebeach 0.1.9 is actually a pretty old version—the latest is 0.1.21. Try reinstalling it completely using npm install -g @google/gemini-cli and then check the version again.
@gregbythebeach 0.1.9 is actually a pretty old version—the latest is 0.1.21. Try reinstalling it completely using
npm install -g @google/gemini-cliand then check the version again.
Okay sorry I'm not very technical, so to confirm;
-
I open CMD> Gemini> paste "npm install -g @google/gemini-cli" (all together in one line) hit enter.
-
will I lose existing saved chats?
Thanks!
installing won't lose the saved chats are they are saved to your ~/.gemini/ which is not impacted by any commands to install gemini CLI