From f4672ea6b8973172ed625aa153779e9b54c98b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=87=AF?= Date: Thu, 28 May 2026 13:56:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=90=8E=E6=89=93=E5=BC=80?= =?UTF-8?q?=E6=B2=99=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/MessageStepsCard.tsx | 5 ++++- .../roundtable-planning/hooks/useStep2Orchestration.ts | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend-web/src/roundtable-planning/components/MessageStepsCard.tsx b/frontend-web/src/roundtable-planning/components/MessageStepsCard.tsx index 03ad67a4..87f14416 100644 --- a/frontend-web/src/roundtable-planning/components/MessageStepsCard.tsx +++ b/frontend-web/src/roundtable-planning/components/MessageStepsCard.tsx @@ -170,10 +170,13 @@ function ToolStep({ const display = getStepDisplay(step.key, step.label, step.args); const argNode = renderStepArgs(step.key, step.args, resolveAgentName); const [, toolName] = step.key.split(":"); + // read_file 也可点 —— 验证类「查看文件…」步骤常出现在最后一条,点击后在沙箱里 + // 查看该文件内容(走虚拟预览或 outputs HTTP)。主聊天只让 write 类可点,这里增强。 const isArtifactStep = toolName === "write_file" || toolName === "str_replace" || - toolName === "present_files"; + toolName === "present_files" || + toolName === "read_file"; return (