mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-29 10:07:41 +03:00
Cleanup
This commit is contained in:
parent
25410a1d29
commit
6fdd9cd1ac
@ -111,10 +111,9 @@ class ReviewDescriptionProcessor(PostProcessorApi):
|
|||||||
self.review_desc_speed,
|
self.review_desc_speed,
|
||||||
camera,
|
camera,
|
||||||
final_data,
|
final_data,
|
||||||
copy.copy([r[1] for r in self.tracked_review_items[id]]),
|
thumbs,
|
||||||
),
|
),
|
||||||
).start()
|
).start()
|
||||||
self.tracked_review_items.pop(id)
|
|
||||||
|
|
||||||
def handle_request(self, request_data):
|
def handle_request(self, request_data):
|
||||||
pass
|
pass
|
||||||
|
|||||||
@ -70,7 +70,7 @@ class GenAIClient:
|
|||||||
**IMPORTANT:**
|
**IMPORTANT:**
|
||||||
- Values must be plain strings, floats, or integers — no nested objects, no extra commentary.
|
- Values must be plain strings, floats, or integers — no nested objects, no extra commentary.
|
||||||
"""
|
"""
|
||||||
logger.info(
|
logger.debug(
|
||||||
f"Sending {len(thumbnails)} images to create review description on {review_data['camera']}"
|
f"Sending {len(thumbnails)} images to create review description on {review_data['camera']}"
|
||||||
)
|
)
|
||||||
response = self._send(context_prompt, thumbnails)
|
response = self._send(context_prompt, thumbnails)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user