Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix(chat): close references drawer on session switch
wizardchend01526b758c6
diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vueindex 39e0c028d..a533292f5 100644--- a/frontend/src/views/chat/index.vue+++ b/frontend/src/views/chat/index.vue@@ -136,7 +136,8 @@ import { clearCitationChunkCache } from '@/utils/citationChunkCache';import ChatReferencesDrawer from '@/components/ChatReferencesDrawer.vue';import { provideChatReferencesDrawer } from '@/composables/useChatReferencesDrawer';-const { visible: referencesDrawerVisible } = provideChatReferencesDrawer();+const referencesDrawer = provideChatReferencesDrawer();+const { visible: referencesDrawerVisible } = referencesDrawer;const props = defineProps({session_id: { type: String, default: '' },@@ -835,6 +836,7 @@ onMounted(async () => {})const clearData = () => {stopStream();+ referencesDrawer.close();isReplying.value = false;fullContent.value = '';// Stop any IM-reply recovery poll for the session we're leaving/switching.