Skip to content

Commit 6af51a4

Browse files
committed
fix: add support for VideoUnderstandNode in ExecutionDetailCard.vue
--bug=1063024 --user=王孝刚 【应用】执行详情中,视频理解节点没有显示消耗tokens数据 https://www.tapd.cn/62980211/s/1790772
1 parent b679b17 commit 6af51a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailCard.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
data.type === WorkflowType.ImageUnderstandNode ||
2323
data.type === WorkflowType.ImageGenerateNode ||
2424
data.type === WorkflowType.Application ||
25-
data.type == WorkflowType.IntentNode
25+
data.type == WorkflowType.IntentNode ||
26+
data.type === WorkflowType.VideoUnderstandNode
2627
"
2728
>{{ data?.message_tokens + data?.answer_tokens }} tokens</span
2829
>

0 commit comments

Comments
 (0)