mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17: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)
|
||||
|
||||
if debug_save:
|
||||
if debug_save and response:
|
||||
with open(
|
||||
os.path.join(
|
||||
CLIPS_DIR, "genai-requests", review_data["id"], "response.txt"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user