File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
ui/src/components/ai-chat Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 387387 <span class =" color-secondary mr-4" >{{ history.role }}:</span >
388388
389389 <span v-if =" Array.isArray(history.content)" >
390- <el-space wrap >
391- <template v-for =" (h , i ) in history .content " :key =" i " >
392- <el-image
393- v-if =" h.type === 'image_url'"
394- :src =" h.image_url.url"
395- alt =" "
396- fit =" cover"
397- style =" width : 40px ; height : 40px ; display : block "
398- class =" border-r-4"
399- />
400- <span v-else >{{ h.text }}</span >
401- </template >
402- </el-space >
390+ <template v-for =" (h , i ) in history .content " :key =" i " >
391+ <el-image
392+ v-if =" h.type === 'image_url'"
393+ :src =" h.image_url.url"
394+ alt =" "
395+ fit =" cover"
396+ style =" width : 40px ; height : 40px ; display : inline-block "
397+ class =" border-r-4 mr-8"
398+ />
399+
400+ <span v-else >{{ h.text }}<br /></span >
401+ </template >
403402 </span >
404403
405404 <span v-else >{{ history.content }}</span >
You can’t perform that action at this time.
0 commit comments