From 8678ceb4222f7ae4fee28a7769e0b63624e53e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=87=AF?= Date: Wed, 24 Jun 2026 18:17:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=AC=AC=E4=B9=9D=E4=B8=AA=20HTML=20?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=20no.9=EF=BC=88=E5=8F=AA=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - no.9.html(160KB)复制进 templates/no9/;数据用 `const DATA = {…}`(= 前有空格,同 no.6), 当前引擎正则要求 const DATA=,不匹配,故先注册为 convertible=False 只展示 - 前端下拉/参考列表自动出现 no.9 - 测试覆盖 no.9 存在/只展示/文件可读 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../runtime/scheduler/template_fill.py | 9 +++ .../runtime/scheduler/templates/no9/no9.html | 66 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no9/no9.html diff --git a/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py index b4173627..30f86781 100644 --- a/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py +++ b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/template_fill.py @@ -193,6 +193,15 @@ TEMPLATES: tuple[TemplateSpec, ...] = ( # 当前引擎只支持 const VAR= 行注入,故暂注册为只展示;接转换需扩展元素注入。 convertible=False, ), + TemplateSpec( + id="no9", + name="no.9", + description="", + file="no9/no9.html", + # 数据用 `const DATA = {…}`(= 前有空格,同 no.6),当前引擎正则要求 const DATA=,不匹配, + # 故暂注册为只展示;接转换需放宽行注入正则。 + convertible=False, + ), ) _TEMPLATES_BY_ID: dict[str, TemplateSpec] = {t.id: t for t in TEMPLATES} diff --git a/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no9/no9.html b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no9/no9.html new file mode 100644 index 00000000..52b2ac5e --- /dev/null +++ b/offline-backend-20260512/backend/packages/harness/deerflow/runtime/scheduler/templates/no9/no9.html @@ -0,0 +1,66 @@ + + + + + + 美国涉华决策咨询群体专题库 + + + +
+
+
+ + + +
+ +
+
+ + + + \ No newline at end of file