Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Fork Chat #2393

Closed
1 task done
sam1am opened this issue Apr 11, 2024 · 4 comments · Fixed by #2617
Closed
1 task done

Enhancement: Fork Chat #2393

sam1am opened this issue Apr 11, 2024 · 4 comments · Fixed by #2617
Assignees
Labels
enhancement New feature or request

Comments

@sam1am
Copy link

sam1am commented Apr 11, 2024

What features would you like to see added?

Please add a button to each message that allows you to "fork" the chat from that message. All previous messages before that fork point would then be added to a new chat.

More details

This is useful for many situations, to be able to have multiple branching chats from a chat history you just created.

Which components are impacted by your request?

UI

Pictures

image

Code of Conduct

  • I agree to follow this project's Code of Conduct
@sam1am sam1am added the enhancement New feature or request label Apr 11, 2024
@JOOKPOWER
Copy link

that's good

@danny-avila
Copy link
Owner

danny-avila commented May 2, 2024

I love this idea and think it can be easily implemented. Messages can branch within a single chat already but this is basically an ask for branching the selected message and all previous history, including all previous thread branching, into a new chat completely, is that right?

@danny-avila danny-avila self-assigned this May 2, 2024
@danny-avila
Copy link
Owner

another approach is to only copy the visible thread, but I can maybe add an option for both

@danny-avila
Copy link
Owner

So as I dove deep into this, it turned out more complex than I'd hoped, but it has certainly been worthwhile. Merging this soon, and here's a preview of all the options

Screenshot 2024-05-05 111824
Screenshot 2024-05-04 235849
Screenshot 2024-05-04 235903
Screenshot 2024-05-04 235913
Screenshot 2024-05-04 235923
Screenshot 2024-05-05 000029

@danny-avila danny-avila added this to the v0.7.2 milestone May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants