mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-30 18:47:40 +03:00
Don't write to write None response to file
This commit is contained in:
parent
0309090852
commit
4b93a4add2
@ -115,7 +115,7 @@ Sequence details:
|
|||||||
|
|
||||||
response = self._send(context_prompt, thumbnails)
|
response = self._send(context_prompt, thumbnails)
|
||||||
|
|
||||||
if debug_save:
|
if debug_save and response:
|
||||||
with open(
|
with open(
|
||||||
os.path.join(
|
os.path.join(
|
||||||
CLIPS_DIR, "genai-requests", review_data["id"], "response.txt"
|
CLIPS_DIR, "genai-requests", review_data["id"], "response.txt"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user