File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
ui/src/components/ai-chat/component/knowledge-source-component Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 6262 </h5 >
6363 <div class =" p-8-12 border-t-dashed lighter" >
6464 <div v-for =" (msg, index) in AiResponse" :key =" index" >
65- <span >{{ msg.content }}</span >
65+ <MdRenderer v-if =" msg.content" :source =" msg.content" ></MdRenderer >
66+ <template v-else > -</template >
6667 </div >
6768 </div >
6869 </div >
@@ -84,6 +85,7 @@ import { ref, computed } from 'vue'
8485import ExecutionDetailCard from ' @/components/execution-detail-card/index.vue'
8586import { arraySort } from ' @/utils/array'
8687import { isWorkFlow } from ' @/utils/application'
88+ import MdRenderer from ' @/components/markdown/MdRenderer.vue'
8789
8890const props = defineProps <{
8991 detail? : any []
@@ -162,4 +164,10 @@ const AiResponse = computed(() => {
162164 return messages .slice (messages .length - 1 , messages .length )
163165})
164166 </script >
165- <style lang="scss" scoped></style >
167+ <style lang="scss" scoped>
168+ .execution-details {
169+ :deep (.md-editor-previewOnly ) {
170+ background : none !important ;
171+ }
172+ }
173+ </style >
You can’t perform that action at this time.
0 commit comments