From d82b5ed88414600b9d9cdd5093e20eaf659a56c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=89=E9=91=AB=E5=8D=87?= Date: Tue, 16 Jun 2026 17:40:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=91=98=E8=A6=81=E4=B8=AD=E9=97=B4?= =?UTF-8?q?=E4=BB=B6=E5=A2=9E=E5=8A=A0=E5=8E=8B=E7=BC=A9=E6=97=A5=E5=BF=97?= =?UTF-8?q?,=E6=8F=90=E7=82=BC=E6=A8=A1=E6=9D=BF=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A1=86=E5=AE=9A=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - summarization_middleware: 真正压缩与复用缓存均记录 info 日志,便于无 stream writer 场景(定时任务/渠道/测试)排查 - KnowledgeManage: 提炼模板 system prompt 编辑框固定为 50vh 高度,内部滚动 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/components/wiki/KnowledgeManage.tsx | 2 +- .../agents/middlewares/summarization_middleware.py | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/frontend-web/src/components/wiki/KnowledgeManage.tsx b/frontend-web/src/components/wiki/KnowledgeManage.tsx index 808c3894..bb6a5345 100644 --- a/frontend-web/src/components/wiki/KnowledgeManage.tsx +++ b/frontend-web/src/components/wiki/KnowledgeManage.tsx @@ -380,7 +380,7 @@ export function ExtractTemplateManageDialog({ placeholder="提示词正文(system prompt)。这里直接控制提炼粒度——想保留更多信息,就在此放宽要求、要求结构化更详细的输出。" value={draft.system_prompt} onChange={(e) => setDraft((d) => ({ ...d, system_prompt: e.target.value }))} - className="font-mono text-xs" + className="h-[50vh] max-h-[50vh] resize-none overflow-y-auto font-mono text-xs" />