mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-15 08:21:16 +03:00
Fix formatting
This commit is contained in:
parent
ba9100b1ff
commit
2ec85a9b2f
@ -106,9 +106,7 @@ class OllamaClient(GenAIClient):
|
||||
if response_format and response_format.get("type") == "json_schema":
|
||||
schema = response_format.get("json_schema", {}).get("schema")
|
||||
if schema:
|
||||
ollama_options["format"] = self._clean_schema_for_ollama(
|
||||
schema
|
||||
)
|
||||
ollama_options["format"] = self._clean_schema_for_ollama(schema)
|
||||
result = self.provider.generate(
|
||||
self.genai_config.model,
|
||||
prompt,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user