feat: 审查流程优化+采集定时调度+全链路LLM提示词升级
- 审查:移除 manual_review,改为迭代LLM修复(最多3次),合规分回写Topic - 调度:scheduler 新增话题采集定时任务 scheduled_collect (01:30) - 提示词:全链路8文件≈24个提示词升级,增强SEO/平台推荐/真人感
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user