diff --git a/deploy/profile-scripts/mofin_health.py b/deploy/profile-scripts/mofin_health.py index bd2141f5..ec93e6e5 100644 --- a/deploy/profile-scripts/mofin_health.py +++ b/deploy/profile-scripts/mofin_health.py @@ -1053,13 +1053,13 @@ def build_report(): import sys as _sys if '/home/hmo/.hermes/profiles/position-analyst/scripts' not in _sys.path: _sys.path.insert(0, '/home/hmo/.hermes/profiles/position-analyst/scripts') - from alert_helper import notify, WARNING + from alert_helper import notify, INFO _first = llm_health["errors_recent"][0] if llm_health["errors_recent"] else {} notify("LLM端点故障", f"最近{llm_health['scan_window_min']}分钟{llm_health['error_count']}次调用失败" f"({_first.get('log','?')} {_first.get('time','?')}: {_first.get('msg','')[:80]})。" f"gateway进程可能正常但LLM服务不可用,请检查opencode.ai端点。", - WARNING) + INFO) except Exception as _ae: print(f"[LLM_MON] 告警发送失败: {_ae}", file=sys.stderr) feature_tree.setdefault("warn_detail", {})["llm"] = (