feat: 审查流程优化+采集定时调度+全链路LLM提示词升级

- 审查:移除 manual_review,改为迭代LLM修复(最多3次),合规分回写Topic
- 调度:scheduler 新增话题采集定时任务 scheduled_collect (01:30)
- 提示词:全链路8文件≈24个提示词升级,增强SEO/平台推荐/真人感
This commit is contained in:
Yuzhiran Dev
2026-05-14 21:52:02 +08:00
parent 1115223066
commit fef435cc78
15 changed files with 288 additions and 160 deletions
+1 -5
View File
@@ -78,13 +78,9 @@ def trigger_review(topic_ids: List[str] = Body(None, embed=True), db: Session =
report = result.get("report")
if report and report["summary"]["total_articles"] > 0:
s = report["summary"]
passed = s["passed_auto"]
manual = s["need_manual"]
total = s["total_articles"]
avg = s["average_score"]
msg = f"审查完成: {total}, {passed}通过 ({avg:.0f}分)"
if manual:
msg += f", {manual} 篇需人工处理"
msg = f"审查完成: {total}全部通过 ({avg:.0f}分)"
return {"message": msg, "summary": s}
else:
if topic_ids: