提交 2fbad9cf 编写于 作者: View Design's avatar View Design

32

上级 932228ba
...@@ -4,8 +4,14 @@ ...@@ -4,8 +4,14 @@
</div> </div>
</template> </template>
<script setup> <script setup>
const props = defineProps({ defineProps({
content: String, content: {
size: 'base' type: String,
default: ''
},
size: {
type: String,
default: 'base'
}
}) })
</script> </script>
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<UIcon :name="item.icon" /> <UIcon :name="item.icon" />
{{ item.name }} {{ item.name }}
</div> </div>
<template v-if="action.action === 'rephrase_question'"> <template v-if="['rephrase_question', 'tool_select'].includes((action.action))">
<div class="pl-5"> <div class="pl-5">
<IMdMdc :content="action.output" size="sm" /> <IMdMdc :content="action.output" size="sm" />
</div> </div>
...@@ -11,11 +11,6 @@ ...@@ -11,11 +11,6 @@
<template v-else-if="['search_file', 'search_web'].includes(action.action)"> <template v-else-if="['search_file', 'search_web'].includes(action.action)">
<div class="text-xs pl-5">找到 {{ action.output.length }} 条来源</div> <div class="text-xs pl-5">找到 {{ action.output.length }} 条来源</div>
</template> </template>
<template v-else-if="action.action === 'tool_select'">
<div class="pl-5">
<IMdMdc :content="action.output" size="sm" />
</div>
</template>
<template v-if="last && status !== 'finish'"> <template v-if="last && status !== 'finish'">
<USkeleton class="h-4" /> <USkeleton class="h-4" />
<USkeleton class="h-4 w-2/3" /> <USkeleton class="h-4 w-2/3" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册