Skip to content

How do branches work? #136

Closed Answered by ErikBjare
mystery000 asked this question in Q&A
Sep 24, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

The idea was to not delete history when users choose to edit the conversation history with /edit, but instead move the old conversation into a "branch" and make the edited conversation the new main branch.

If you have a look at the conversation directory after you've forked a conversation with /fork or /edit, it might make more sense to you:

$ tree ~/.local/share/gptme/logs/2024-09-24-laughing-happy-bird/
├── branches
│   └── main-edit-0.jsonl
└── conversation.jsonl

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ErikBjare
Comment options

You must be logged in to vote
1 reply
@ErikBjare
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants