fix(post-3.5c): Hermes 降級 logger 等級從 error → warning

Item #5:
- services/hermes_analyst_service.py:122 降級到規則引擎是預期 fallback
  路徑(不是錯誤),改用 logger.warning 與同檔 :175 一致

調查範圍(已查 grep "logger.error" + "降級|hermes|fallback"):
- services/nemoton_dispatcher_service.py:486 NIM content 解析失敗 → 真錯誤,保留 error
- services/nemoton_dispatcher_service.py:564 fallback 派發單筆失敗 → 真錯誤,保留 error
- routes/openclaw_bot_routes.py:4168 無 logger.error,候選位置無此 pattern(已查,無異狀)
This commit is contained in:
OoO
2026-04-28 11:38:46 +08:00
parent 8b51d2d94f
commit 67509a4e42

View File

@@ -120,7 +120,7 @@ class HermesAnalystService:
None, self._call_hermes_intent, message
)
except Exception as e:
logger.error(
logger.warning(
f"[Hermes.handle_l1] run_in_executor 例外,降級規則引擎"
f"{type(e).__name__}: {e}",
exc_info=True,