From 4711527222f2cfe05d2f2f9d2f6b37a4ddd01131 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Thu, 17 Jul 2025 18:15:50 +0800 Subject: [PATCH] fix: The knowledge base results show a source issue #3658 (#3661) --- ui/src/components/ai-chat/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index f8bef5e7a..e7d02343e 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -554,7 +554,10 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para if (props.type === 'debug-ai-chat') { getSourceDetail(chat) } else { - if (props.applicationDetails && props.applicationDetails.show_exec) { + if ( + props.applicationDetails && + (props.applicationDetails.show_exec || props.applicationDetails.show_source) + ) { getSourceDetail(chat) } }