From bc04a8aebc48018e0862958644a5478a2e612b91 Mon Sep 17 00:00:00 2001 From: xxm Date: Tue, 25 Aug 2026 10:45:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20LLM=E7=AB=AF=E7=82=B9=E6=95=85=E9=9A=9C?= =?UTF-8?q?=E5=91=8A=E8=AD=A6=E5=8F=AA=E6=95=B0=E6=9C=80=E7=BB=88=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E2=80=94=E2=80=94hermes=E9=87=8D=E8=AF=95=E5=BA=8F?= =?UTF-8?q?=E5=88=97(attempt1/2=E7=9A=84'API=20call=20failed'+'Retrying')?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E8=AE=A1=E5=85=A5(=E4=B8=80=E6=AC=A1?= =?UTF-8?q?=E7=9E=AC=E6=97=B6=E6=8A=96=E5=8A=A8=3D3=E6=9D=A1WARNING?= =?UTF-8?q?=E8=AF=AF=E6=8A=A55=E6=AC=A1=E5=A4=B1=E8=B4=A5,09:54=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/mofin_health.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/profile-scripts/mofin_health.py b/deploy/profile-scripts/mofin_health.py index ee5fef97..88545195 100644 --- a/deploy/profile-scripts/mofin_health.py +++ b/deploy/profile-scripts/mofin_health.py @@ -1167,6 +1167,14 @@ def build_report(): if _ts.timestamp() < _scan_cutoff: continue if any(_p in _line for _p in _LLM_ERR_PATTERNS): + # 2026-08-25 只数最终失败:hermes 一次抖动打3条WARNING(attempt1/2/3), + # 重试成功不算故障——attempt 1/2 的"API call failed"和"Retrying"跳过 + if "Retrying API call" in _line: + continue + import re as _re2 + _att = _re2.search(r"attempt (\d+)/(\d+)", _line) + if _att and _att.group(1) != _att.group(2): + continue # 非最终次失败=重试中,跳过 _recent_errs.append({ "log": _lf.name, "time": _ts.strftime("%H:%M"), "msg": _line[20:180],