zju 0614 v2 with background
This commit is contained in:
@ -75,6 +75,8 @@ def read_previous_digest(date):
|
||||
# ============================================================
|
||||
DAILY_SYSTEM_PROMPT = """你是一个私人思考伙伴。你的任务是认真阅读用户今天的每一条灵感记录,结合之前的分析,写一篇有深度的分析文章。
|
||||
|
||||
注意:所有时间戳都是**北京时间**(UTC+8),不是 UTC。用户在中国,记录和活动时间均以北京时间为准。
|
||||
|
||||
核心原则:不做缩写,不做分类表,不写空话。
|
||||
|
||||
具体要求:
|
||||
@ -171,7 +173,7 @@ def git_push(digest_file):
|
||||
|
||||
def run(memos_client, llm_client, date=None):
|
||||
"""Run daily digest analysis."""
|
||||
date = date or datetime.now(timezone.utc)
|
||||
date = date or datetime.now(TZ_BEIJING)
|
||||
|
||||
logger.info("Daily digest started for %s", date.strftime("%Y-%m-%d"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user