Skip to content

Commit ba286ec

Browse files
feat: execution detail show reasoning
1 parent 328b86b commit ba286ec

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,17 @@
214214
{{ item.question || '-' }}
215215
</div>
216216
</div>
217+
<div
218+
class="card-never border-r-4 mt-8"
219+
v-if="item.type == WorkflowType.AiChat"
220+
>
221+
<h5 class="p-8-12">
222+
{{ $t('views.applicationWorkflow.nodes.aiChatNode.think')}}
223+
</h5>
224+
<div class="p-8-12 border-t-dashed lighter pre-wrap">
225+
{{ item.reasoning_content || '-' }}
226+
</div>
227+
</div>
217228
<div class="card-never border-r-4 mt-8">
218229
<h5 class="p-8-12">
219230
{{

ui/src/workflow/common/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const aiChatNode = {
6868
},
6969
{
7070
label: t('views.applicationWorkflow.nodes.aiChatNode.think'),
71-
value: 'thinking_process'
71+
value: 'reasoning_content'
7272
}
7373
]
7474
}

0 commit comments

Comments
 (0)