From 69a9e0c02468aca95186f6391d76447c313ee127 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Mon, 9 Nov 2026 17:59:29 +0800 Subject: [PATCH] fix: [Agent] Missing execution details for LLM node --- .../workflow/nodes/llm_node/llm_node.py | 2 ++ .../nodes/llm-node/details/index.vue | 26 +++++++++++-------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/apps/application/workflow/nodes/llm_node/llm_node.py b/apps/application/workflow/nodes/llm_node/llm_node.py index 1553ac83a3b..139aee1a850 100644 --- a/apps/application/workflow/nodes/llm_node/llm_node.py +++ b/apps/application/workflow/nodes/llm_node/llm_node.py @@ -390,6 +390,8 @@ def get_details(self, index: int = 0, position: dict = None, old_details: dict = "message_tokens": self.data.get("message_tokens"), "answer_tokens": self.data.get("answer_tokens"), "messages": aggregation.get_contents(), + "system": self.get_parameters().get("system"), + "prompt": self.get_parameters().get("prompt"), } ) return details diff --git a/ui/src/workflow-canvas/nodes/llm-node/details/index.vue b/ui/src/workflow-canvas/nodes/llm-node/details/index.vue index 4e37d27c6a2..6f9abf13ebc 100644 --- a/ui/src/workflow-canvas/nodes/llm-node/details/index.vue +++ b/ui/src/workflow-canvas/nodes/llm-node/details/index.vue @@ -19,10 +19,20 @@ function formatJson(value: unknown) { + +
+
系统提示词
+
{{ data.system || '-' }}
+
+ +
+
用户提示词
+
{{ data.prompt || '-' }}
+
-
消息列表
+
上下文