fix: preflight_verify 提示词registry路径 projects/MoFin -> MoFin(修复钉对钉18项中1项失败)
This commit is contained in:
@@ -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不存在")
|
||||
|
||||
Reference in New Issue
Block a user