This commit is contained in:
lyf
2024-09-14 14:19:11 +08:00
parent df62736ff6
commit 6e79b9a7a2
4 changed files with 25 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),
});