this PR adds a fork button next to the copy message button when a user clicks on a message.
This will then create a duplicate conversation up to that message, with the title: Fork: < old title >
What could be improved: Deduplicating Fork: Fork: Fork: etc. But it's a trivial thing to rename your conversation. So I figured that was out of scope.
This PR adds a function cloneConversation() in composables/conversation.ts. This function is called by forkConversation() in the same file. This way it's possible to easily extend with a "Copy Conversation" Button.
Hi,
this PR adds a fork button next to the copy message button when a user clicks on a message. This will then create a duplicate conversation up to that message, with the title:
Fork: < old title >
What could be improved: Deduplicating
Fork: Fork: Fork: etc
. But it's a trivial thing to rename your conversation. So I figured that was out of scope.This PR adds a function
cloneConversation()
in composables/conversation.ts. This function is called byforkConversation()
in the same file. This way it's possible to easily extend with a "Copy Conversation" Button.fixes #48