diff --git a/frigate/genai/__init__.py b/frigate/genai/__init__.py index 5e7bc6029..a79cf71ee 100644 --- a/frigate/genai/__init__.py +++ b/frigate/genai/__init__.py @@ -81,7 +81,9 @@ class GenAIClient: return ReviewMetadata.model_validate_json(clean_json) except Exception as e: # rarely LLMs can fail to follow directions on output format - logger.warning(f"Failed to parse review description as the response did not match expected format. {e}") + logger.warning( + f"Failed to parse review description as the response did not match expected format. {e}" + ) return None else: return None