From 6396042795f9c2b6715909acb15e60ef9bb3cf1e Mon Sep 17 00:00:00 2001
From: Iams4kura <126048986+Iams4kura@users.noreply.github.com>
Date: Wed, 26 Aug 2026 10:25:07 +0800
Subject: [PATCH] fix: show errors in execution details
---
frontend/src/views/chat/ChatTokenTime.vue | 3 +-
frontend/src/views/chat/ExecutionDetails.vue | 34 +++++--
.../chat/execution-component/LogWithAi.vue | 2 +-
frontend/src/views/chat/index.vue | 3 +
tests/test_execution_error_details.py | 91 +++++++++++++++++++
5 files changed, 124 insertions(+), 9 deletions(-)
create mode 100644 tests/test_execution_error_details.py
diff --git a/frontend/src/views/chat/ChatTokenTime.vue b/frontend/src/views/chat/ChatTokenTime.vue
index 8fdee2cc..c56c9662 100644
--- a/frontend/src/views/chat/ChatTokenTime.vue
+++ b/frontend/src/views/chat/ChatTokenTime.vue
@@ -7,6 +7,7 @@ const props = defineProps<{
recordId?: number
duration?: number | undefined
totalTokens?: number | undefined
+ error?: string
}>()
const chatConfig = useChatConfigStore()
const showLogBtn = chatConfig.getShowLog
@@ -28,7 +29,7 @@ function getLogList() {
{{ $t('parameter.execution_details') }}
-
+