mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-31 00:18:55 +01:00
Ensure genai prompt is properly formatted (#14256)
This commit is contained in:
parent
d4925622f9
commit
9fda259c0c
@ -36,7 +36,7 @@ class GenAIClient:
|
||||
"""Generate a description for the frame."""
|
||||
prompt = camera_config.genai.object_prompts.get(
|
||||
label, camera_config.genai.prompt
|
||||
)
|
||||
).format(label=label)
|
||||
return self._send(prompt, thumbnails)
|
||||
|
||||
def _init_provider(self):
|
||||
|
Loading…
Reference in New Issue
Block a user