Skip to content

[BUG] Resuming a conversation by session ID broken in print mode #3510

Closed

Description

@foertel

This is a duplicate of #1967. It is still broken in 1.0.51. Can we re-open that or do you need a new ticket?

Activity

  1. foertel commented on Jul 14, 2025

    @foertel
    Author
  2. foertel commented on Jul 17, 2025

    @foertel
    Author

    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 ...

  3. igorkofman commented on Jul 21, 2025

    @igorkofman
    Collaborator

    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.

  4. foertel commented on Jul 21, 2025

    @foertel
    Author

    @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.

  5. pnelson commented on Jul 21, 2025

    @pnelson

    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?

  6. igorkofman commented on Jul 21, 2025

    @igorkofman
    Collaborator
  7. rembo10 commented on Jul 25, 2025

    @rembo10

    It seems like it would make more sense to use the same session/session_id in --print mode

  8. github-actions commented on Aug 1, 2025

    @github-actions

    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.

  9. locked as resolved and limited conversation to collaborators on Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions