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