Skip to content

Commit 8f8d4ad

Browse files
committed
fix: 去掉本次对话
1 parent d276bc9 commit 8f8d4ad

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
<div class="flex align-center">
2929
<span
3030
class="mr-16 color-secondary"
31-
v-if="item.type === WorkflowType.Question || item.type === WorkflowType.AiChat || item.type === WorkflowType.ImageUnderstandNode"
31+
v-if="
32+
item.type === WorkflowType.Question ||
33+
item.type === WorkflowType.AiChat ||
34+
item.type === WorkflowType.ImageUnderstandNode ||
35+
item.type === WorkflowType.Application
36+
"
3237
>{{ item?.message_tokens + item?.answer_tokens }} tokens</span
3338
>
3439
<span class="mr-16 color-secondary">{{ item?.run_time?.toFixed(2) || 0.0 }} s</span>
@@ -166,7 +171,10 @@
166171
<template v-else> - </template>
167172
</div>
168173
</div>
169-
<div class="card-never border-r-4 mt-8">
174+
<div
175+
class="card-never border-r-4 mt-8"
176+
v-if="item.type !== WorkflowType.Application"
177+
>
170178
<h5 class="p-8-12">本次对话</h5>
171179
<div class="p-8-12 border-t-dashed lighter pre-wrap">
172180
{{ item.question || '-' }}

0 commit comments

Comments
 (0)