diff --git a/deploy/profile-scripts/mofin_health.py b/deploy/profile-scripts/mofin_health.py index 75151a37..a224cba1 100644 --- a/deploy/profile-scripts/mofin_health.py +++ b/deploy/profile-scripts/mofin_health.py @@ -1028,7 +1028,9 @@ def build_report(): llm_health = {"ok": True, "errors_recent": [], "scan_window_min": 60} _LLM_ERR_PATTERNS = [ "RemoteProtocolError", "Stream stale", "empty stream", - "peer closed connection", "finish_reason", "API call failed", + "peer closed connection", "API call failed", + # 2026-08-11 修复:移除 "finish_reason"——它是正常完成标志(INFO级别 Turn ended), + # 把它当错误导致连续误报"LLM端点故障"。真正的失败才报(RemoteProtocolError/Stream stale等)。 ] try: _err_logs = [