From af2683c529bfac460fca3539add17b5938cf9bfa Mon Sep 17 00:00:00 2001 From: openjst <771488533@qq.com> Date: Tue, 28 Nov 2023 00:15:25 +0800 Subject: [PATCH] feat: auto create new chat when role and model change --- web/src/views/ChatPlus.vue | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/web/src/views/ChatPlus.vue b/web/src/views/ChatPlus.vue index ab97842c..da58cb5f 100644 --- a/web/src/views/ChatPlus.vue +++ b/web/src/views/ChatPlus.vue @@ -83,7 +83,7 @@
聊天角色: - + - + { localStorage.setItem("chat_id", chat.chat_id)