From 0a22c2cce86c3881a4d5e226206910501ba73294 Mon Sep 17 00:00:00 2001 From: Marker689 Date: Sun, 10 May 2026 05:01:31 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20LLM=20=D1=82=D0=B0=D0=B9=D0=BC=D0=B0?= =?UTF-8?q?=D1=83=D1=82=20+=20debug-=D0=BB=D0=BE=D0=B3=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=B4=D0=B8=D0=B0=D0=B3=D0=BD=D0=BE=D1=81=D1=82=D0=B8?= =?UTF-8?q?=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guarddog_nexus/llm.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/guarddog_nexus/llm.py b/guarddog_nexus/llm.py index 59d9d43..7170c7c 100644 --- a/guarddog_nexus/llm.py +++ b/guarddog_nexus/llm.py @@ -83,5 +83,9 @@ async def analyze_finding(finding_data: dict) -> dict | None: content = body["choices"][0]["message"]["content"] return json.loads(content) except (KeyError, IndexError, json.JSONDecodeError) as e: - log.warning("LLM response parse error for rule=%s: %s", finding_data.get("rule"), e) + log.warning( + "LLM response parse error for rule=%s: %s", + finding_data.get("rule"), + e, + ) return None