Merge pull request #5432 from ConnectAI-E/Feature-fork

feat fork
This commit is contained in:
Dogtiti
2024-09-18 15:04:27 +08:00
committed by GitHub
5 changed files with 26 additions and 0 deletions

View File

@@ -980,6 +980,7 @@ function _Chat() {
chatStore.updateCurrentSession(
(session) => (session.clearContextIndex = session.messages.length),
),
fork: () => chatStore.forkSession(),
del: () => chatStore.deleteSession(chatStore.currentSessionIndex),
});