iflytek summary + cleanup
This commit is contained in:
@ -180,7 +180,7 @@ def run(memos_client, llm_client, date=None):
|
||||
|
||||
if not memos:
|
||||
logger.info("No memos today, skipping")
|
||||
content = format_daily_digest(date, ai_body="今天没有记录灵感。")
|
||||
content = format_daily_digest(date, ai_body="今天没有记录灵感。", tags=["灵感收集器", "每日总结", "静默"], doc_type="daily-digest")
|
||||
date_str = date.strftime("%Y-%m-%d")
|
||||
daily_dir = os.path.join(get_output_dir("daily"), date_str)
|
||||
os.makedirs(daily_dir, exist_ok=True)
|
||||
@ -223,7 +223,7 @@ def run(memos_client, llm_client, date=None):
|
||||
)
|
||||
|
||||
# Step 5: Wrap with frontmatter and write
|
||||
content = format_daily_digest(date, ai_body=raw_response)
|
||||
content = format_daily_digest(date, ai_body=raw_response, tags=["灵感收集器", "每日总结", "AI分析"], doc_type="daily-digest")
|
||||
|
||||
date_str = date.strftime("%Y-%m-%d")
|
||||
daily_dir = os.path.join(get_output_dir("daily"), date_str)
|
||||
|
||||
Reference in New Issue
Block a user