File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
ui/src/components/ai-chat/component/answer-content Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ def get_answer_text_list(self):
515515 if index == 0 :
516516 result .append (answer .get ('content' ))
517517 continue
518- if answer .get ('type' ) != answer_text_list [index - 1 ]:
518+ if answer .get ('type' ) != answer_text_list [index - 1 ]. get ( 'type' ) :
519519 result .append (answer .get ('content' ))
520520 else :
521521 result [- 1 ] += answer .get ('content' )
Original file line number Diff line number Diff line change 88 <div class =" content" >
99 <el-card shadow =" always" class =" dialog-card mb-8" >
1010 <MdRenderer
11- v-if =" chatRecord.write_ed === undefined || chatRecord.write_ed === true"
11+ v-if ="
12+ (chatRecord.write_ed === undefined || chatRecord.write_ed === true) && !answer_text
13+ "
1214 source =" 抱歉,没有查找到相关内容,请重新描述您的问题或提供更多信息。"
1315 ></MdRenderer >
1416 <MdRenderer
You can’t perform that action at this time.
0 commit comments