mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-04 06:33:45 +00:00
Formatting
This commit is contained in:
parent
374cd2bb2f
commit
1bea9aec99
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user