fix(workflow and tool): Output processing modification of tool nodes and error modification for tool tests

This commit is contained in:
Timebomb2018
2026-03-18 16:37:39 +08:00
parent 7e5e1609b0
commit 7bbfd33ca0
4 changed files with 13 additions and 16 deletions

View File

@@ -374,7 +374,7 @@ class AgentRunService:
files: Optional[List[FileInput]]
) -> None:
"""校验上传文件是否符合 file_upload 配置"""
if not files:
if not files or not features_config:
return
fu = features_config.get("file_upload", {})
if not (isinstance(fu, dict) and fu.get("enabled")):