You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Resuming a conversation by session ID broken in print mode #3510
Now we have -session-id and it is still broken. :-/ You can only start new sessions with --session-id but you can not continue them with --resume. That's sad ...
Resuming a session creates a new session id - that is how the feature is designed to work (to allow working of sessions) and works the same in interactive mode.
I was also surprised having recently read that comment. Furthermore, https://support.anthropic.com/en/articles/11014257-about-claude-s-max-plan-usage says there's a soft limit of 50 sessions per month which seems like it would be burned up quickly for any reasonable use of this unless 5 hour session windows can have multiple session IDs?
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
foertel commentedon Jul 14, 2025
/cc @igorkofman
foertel commentedon Jul 17, 2025
Now we have
-session-idand it is still broken. :-/ You can only start new sessions with--session-idbut you can not continue them with--resume. That's sad ...igorkofman commentedon Jul 21, 2025
Resuming a session creates a new session id - that is how the feature is designed to work (to allow working of sessions) and works the same in interactive mode.
foertel commentedon Jul 21, 2025
@igorkofman Okay, then I misunderstood your comment over here.
So session-ids are supposed to change in every turn in a multi-turn conversation to the same session. That should really be reflected in the docs.
pnelson commentedon Jul 21, 2025
I was also surprised having recently read that comment. Furthermore, https://support.anthropic.com/en/articles/11014257-about-claude-s-max-plan-usage says there's a soft limit of 50 sessions per month which seems like it would be burned up quickly for any reasonable use of this unless 5 hour session windows can have multiple session IDs?
igorkofman commentedon Jul 21, 2025
rembo10 commentedon Jul 25, 2025
It seems like it would make more sense to use the same session/session_id in --print mode
github-actions commentedon Aug 1, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.