From 338fda188a147173ba117c5de3dd87a9f045d65f Mon Sep 17 00:00:00 2001 From: root <953994191@qq.com> Date: Sun, 26 Apr 2026 23:20:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20formatter.py=20?= =?UTF-8?q?=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/agent_subgraphs/common/formatter.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/backend/app/agent_subgraphs/common/formatter.py b/backend/app/agent_subgraphs/common/formatter.py index 6c56a80..951de8d 100644 --- a/backend/app/agent_subgraphs/common/formatter.py +++ b/backend/app/agent_subgraphs/common/formatter.py @@ -202,7 +202,8 @@ class Template: class DictLoader(BaseLoader): - """字典模板加载器""" + """字典模板加载器 + 用于从内存字典中加载模板 """ @@ -479,7 +480,3 @@ class OutputRenderer: 格式化后的字符串 """ return self.markdown.format(data) - """ - 格式化后的字符串 - """ - return str(data)