From 9bd430216e27f8f94a1d8922c1539cad018c6424 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 23 Mar 2026 10:04:43 -0600 Subject: [PATCH] Cleanup --- frigate/genai/ollama.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frigate/genai/ollama.py b/frigate/genai/ollama.py index 716c74dc2..0bfb95000 100644 --- a/frigate/genai/ollama.py +++ b/frigate/genai/ollama.py @@ -54,9 +54,7 @@ class OllamaClient(GenAIClient): return None @staticmethod - def _clean_schema_for_ollama( - schema: dict, *, _is_properties: bool = False - ) -> dict: + def _clean_schema_for_ollama(schema: dict, *, _is_properties: bool = False) -> dict: """Strip Pydantic metadata from a JSON schema for Ollama compatibility. Ollama's grammar-based constrained generation works best with minimal