feat: 报告结构支持检索方向/来源与智能新增,并修复协助卡停轮与宿主跳转

为深度研究报告结构增加检索方向与技能来源、对话式智能新增页与详情排版;澄清中间件在 after_model 可靠结束本轮,避免弱模型出卡后继续生成;任务按钮补充 host 跳转与相关深链能力。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
董宏凯andCursor committed 2026-08-22 17:46:06 +08:00
1 parent a5a9c952e8
commit 51afebb394
67 files changed
+4511 -699

No files matched your search

@@ -429,7 +429,7 @@ class DeepResearchJobExecutor:
[
f"- 生成目标:{cleaned_instruction}",
f"- 表达策略:{style_instruction}",
"- 结构原则:严格按用户选择的新报告结构组织全文,不沿用来源报告章节。",
"- 结构原则:严格按用户选择的新报告结构组织全文,不沿用来源报告章节。文首题名与日期/类型/密级等版头必须保留并填入真实值,不得因占位符而省略。",
"- 资料边界:仅使用本次已选资料,不联网,不补充没有依据的事实、数字或引用。",
]
)[:3_000]
@@ -1377,6 +1377,7 @@ class DeepResearchJobExecutor:
session_id=session_id,
runtime_thread_id=runtime_thread_id,
model_name=config.fast_model or config.smart_model or config.strategic_model,
retrieval_skills=list(config.retrieval_skills or []),
)
# Context compressor (shares the LLM for the summary path).