Skip to content

Commit 50ac593

Browse files
committed
fix: The knowledge base results show a source issue #3658
1 parent 9ef4977 commit 50ac593

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/components/ai-chat/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,10 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para
554554
if (props.type === 'debug-ai-chat') {
555555
getSourceDetail(chat)
556556
} else {
557-
if (props.applicationDetails && props.applicationDetails.show_exec) {
557+
if (
558+
props.applicationDetails &&
559+
(props.applicationDetails.show_exec || props.applicationDetails.show_source)
560+
) {
558561
getSourceDetail(chat)
559562
}
560563
}

0 commit comments

Comments
 (0)