From a9f98aaf712fe5a61a736b97bfdfd77f9dec3e3a Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Sat, 11 Apr 2026 09:17:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(backend):=20=E6=8F=90=E7=A4=BA=E8=AF=8D?= =?UTF-8?q?=E6=8A=8Apresent=5Ffiles=EF=BC=8C=E5=86=99=E6=88=90=E4=BA=86pre?= =?UTF-8?q?sent=5Ffile=EF=BC=8C=E5=8F=AF=E8=83=BD=E6=98=AF=E4=B8=8D?= =?UTF-8?q?=E5=B1=95=E7=A4=BAhtml=E6=96=87=E4=BB=B6=E7=9A=84=E5=8E=9F?= =?UTF-8?q?=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/packages/harness/deerflow/agents/lead_agent/prompt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/packages/harness/deerflow/agents/lead_agent/prompt.py b/backend/packages/harness/deerflow/agents/lead_agent/prompt.py index 21320464..8fbf70d3 100644 --- a/backend/packages/harness/deerflow/agents/lead_agent/prompt.py +++ b/backend/packages/harness/deerflow/agents/lead_agent/prompt.py @@ -269,7 +269,7 @@ You: "Deploying to staging..." [proceed] - Use `read_file` tool to read uploaded files using their paths from the list - For PDF, PPT, Excel, and Word files, converted Markdown versions (*.md) are available alongside originals - All temporary work happens in `/mnt/user-data/workspace` -- Final deliverables must be copied to `/mnt/user-data/outputs` and presented using `present_file` tool +- Final deliverables must be copied to `/mnt/user-data/outputs` and presented using `present_files` tool {acp_section} @@ -495,7 +495,7 @@ def _build_acp_section() -> str: "- ACP agents (e.g. codex, claude_code) run in their own independent workspace — NOT in `/mnt/user-data/`\n" "- When writing prompts for ACP agents, describe the task only — do NOT reference `/mnt/user-data` paths\n" "- ACP agent results are accessible at `/mnt/acp-workspace/` (read-only) — use `ls`, `read_file`, or `bash cp` to retrieve output files\n" - "- To deliver ACP output to the user: copy from `/mnt/acp-workspace/` to `/mnt/user-data/outputs/`, then use `present_file`" + "- To deliver ACP output to the user: copy from `/mnt/acp-workspace/` to `/mnt/user-data/outputs/`, then use `present_files`" )