fix genai merge

This commit is contained in:
Josh Hawkins 2026-02-27 09:44:35 -06:00
parent 623f2769ce
commit 52a9ff617a
2 changed files with 4 additions and 3 deletions

View File

@ -67,6 +67,3 @@ class GenAIConfig(FrigateBaseModel):
description="Runtime options passed to the provider for each inference call.",
json_schema_extra={"additionalProperties": {"type": "string"}},
)
runtime_options: dict[str, Any] = Field(
default={}, title="Options to pass during inference calls."
)

View File

@ -1137,6 +1137,10 @@
"label": "Provider",
"description": "The GenAI provider to use (for example: ollama, gemini, openai)."
},
"roles": {
"label": "Roles",
"description": "GenAI roles (tools, vision, embeddings); one provider per role."
},
"provider_options": {
"label": "Provider options",
"description": "Additional provider-specific options to pass to the GenAI client."