diff --git a/frigate/genai/llama_cpp.py b/frigate/genai/llama_cpp.py index bed742756..69b4cac28 100644 --- a/frigate/genai/llama_cpp.py +++ b/frigate/genai/llama_cpp.py @@ -121,7 +121,10 @@ class LlamaCppClient(GenAIClient): elif tool_choice == "required": openai_tool_choice = "required" - payload: dict[str, Any] = {"messages": messages, "model": self.genai_config.model} + payload: dict[str, Any] = { + "messages": messages, + "model": self.genai_config.model, + } if stream: payload["stream"] = True if tools: