mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-23 08:38:22 +03:00
fix genai merge
This commit is contained in:
parent
623f2769ce
commit
52a9ff617a
@ -67,6 +67,3 @@ class GenAIConfig(FrigateBaseModel):
|
|||||||
description="Runtime options passed to the provider for each inference call.",
|
description="Runtime options passed to the provider for each inference call.",
|
||||||
json_schema_extra={"additionalProperties": {"type": "string"}},
|
json_schema_extra={"additionalProperties": {"type": "string"}},
|
||||||
)
|
)
|
||||||
runtime_options: dict[str, Any] = Field(
|
|
||||||
default={}, title="Options to pass during inference calls."
|
|
||||||
)
|
|
||||||
|
|||||||
@ -1137,6 +1137,10 @@
|
|||||||
"label": "Provider",
|
"label": "Provider",
|
||||||
"description": "The GenAI provider to use (for example: ollama, gemini, openai)."
|
"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": {
|
"provider_options": {
|
||||||
"label": "Provider options",
|
"label": "Provider options",
|
||||||
"description": "Additional provider-specific options to pass to the GenAI client."
|
"description": "Additional provider-specific options to pass to the GenAI client."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user