`/chat save` fails silently without a name
What happened?
- Actual Behavior: Running /chat save without providing a session name exits without any output or error message. Subsequently, /chat list does not show a saved session.
- Steps to Reproduce: 1. Run /chat save 2. Run /chat list and observe the list is empty.
What did you expect to happen?
- Expected Behavior: The command should return an error message indicating that a required argument (the session name) is missing. For
example: Error: Missing required argument 'name'. Usage: /chat save
Client information
- CLI Version: 0.1.9
- Git Commit: 34935d6
- Operating System: linux v22.17.0
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-pro
- Memory Usage: 176.1 MB
Login information
No response
Anything else we need to know?
No response
Works fine for me
│ CLI Version 0.1.9 │ │ Git Commit 39e85094 (local modifications) │ │ Model gemini-2.5-pro │ │ Sandbox sandbox-exec (permissive-open) │ │ OS darwin │ │ Auth Method gemini-api-key │
It has never (since about a week) worked for me. 1.9 version and earlier. Steps to reproduce, quoting from memory:
- Select
chat save - See
chat saved - Use
chat list - See nothing.
Three API accounts, 2 versions of CLI, 3 boxes (OSes), hundreds of sessions by now.
I resorted to manual memory saving via MCP or just into some .md file, as session breaks every hour or so still.
I ran in into this in an older version. It should still be saved just without a name. Try and restore it without a name or try a space.
You can also look on the filesystem where it stores the chats.
Ah, @zackoch : you are right. Silly me: I was used to longer, automatically generated names of chat checkpoints in Open Interpreter, etc. It works and probably always has been working.
Instead of doing: /chat save (and hope for the chat # to be incremented and auto named, at least by timestamp), one has to use /chat save [tag]. Only then the list is usable:
╭────────────────╮
│ > /chat list │
╰────────────────╯
ℹ list of saved conversations: 1, 2
Ta.
Found possible duplicate issues:
- #2819: (#0.9120098896032522)
- #4837: (#0.9094719832820899)
- #4903: (#0.9033209085464478)
Hi @kwentine, i believe this issue has been fixed. I'm going to close this for now, but please feel free to reopen it if you still run into this problem on the latest version.
@galz10 thanks a lot for your work on this!