Reduce LLM rewrite calls and add report intro conclusion

This commit is contained in:
Mimikko-zeus
2026-06-04 16:41:05 +08:00
parent f7e4c9722b
commit 6eca615f42
7 changed files with 104 additions and 18 deletions

View File

@@ -64,6 +64,7 @@ def _mock_guide_llm(prompt: str) -> str:
item_ids = [item["id"] for item in payload["items"][:3]]
return json.dumps(
{
"intro": "本地 mock 模式已生成 AI 日报,用于验证流水线。",
"theme": "本地 mock 模式已生成 AI 日报,用于验证流水线。",
"threads": [
{
@@ -73,6 +74,7 @@ def _mock_guide_llm(prompt: str) -> str:
"kind": "thread",
}
],
"conclusion": "本地 mock 结果可用于确认定时任务入口和文件输出是否正常。",
},
ensure_ascii=False,
)