fix: preflight_verify 提示词registry路径 projects/MoFin -> MoFin(修复钉对钉18项中1项失败)

This commit is contained in:
xxm
2026-08-11 03:29:25 +08:00
parent 3254d4d9e0
commit d3990cc3b1
+1 -1
View File
@@ -147,7 +147,7 @@ def check_cron_timestamps():
def check_prompt_sync():
"""检查注册的cron prompt版本与jobs.json实际运行的是否一致"""
try:
reg_path = "/home/hmo/projects/MoFin/data/prompts/registry.json"
reg_path = "/home/hmo/MoFin/data/prompts/registry.json"
cron_path = "/home/hmo/.hermes/profiles/position-analyst/cron/jobs.json"
if not os.path.exists(reg_path) or not os.path.exists(cron_path):
check("提示词一致性", False, "registry或jobs.json不存在")