From e492dcd968ca8afd3c81dbc2e51265a3536dd0bc Mon Sep 17 00:00:00 2001 From: Timebomb2018 <18868801967@163.com> Date: Tue, 17 Mar 2026 13:09:51 +0800 Subject: [PATCH] fix(app): File verification support --- api/app/services/draft_run_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/services/draft_run_service.py b/api/app/services/draft_run_service.py index b9d50c37..2c103d7c 100644 --- a/api/app/services/draft_run_service.py +++ b/api/app/services/draft_run_service.py @@ -388,7 +388,7 @@ class AgentRunService: for f in files: if f.transfer_method.value not in allowed_methods: raise BusinessException( - f"不支持的文件传输方式:{f.transfer_method},允许的方式:{', '.join(allowed_methods)}", + f"不支持的文件传输方式:{f.transfer_method.value},允许的方式:{', '.join(allowed_methods)}", BizCode.BAD_REQUEST )