mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-29 10:07:41 +03:00
Formatting
This commit is contained in:
parent
374cd2bb2f
commit
1bea9aec99
@ -81,7 +81,9 @@ class GenAIClient:
|
|||||||
return ReviewMetadata.model_validate_json(clean_json)
|
return ReviewMetadata.model_validate_json(clean_json)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# rarely LLMs can fail to follow directions on output format
|
# 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
|
return None
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user