mirror of
https://github.com/MrSleeps/jellyfin-scene-search.git
synced 2026-11-19 00:03:36 +00:00
Configure optional text-only Ollama model for Jellyfin visual overviews
This commit is contained in:
@@ -55,6 +55,13 @@ class Settings:
|
||||
).strip().lower() not in {"0", "false", "no", "off"}
|
||||
caption_timeout_seconds: int = int(os.getenv("CAPTION_TIMEOUT_SECONDS", "180"))
|
||||
caption_max_tokens: int = int(os.getenv("CAPTION_MAX_TOKENS", "120"))
|
||||
# Text-only condensation of existing Trickplay caption windows.
|
||||
overview_model: str = os.getenv(
|
||||
"OVERVIEW_MODEL", os.getenv("CAPTION_GENERAL_MODEL", os.getenv(
|
||||
"CAPTION_MODEL", "huihui_ai/qwen3-vl-abliterated:4b-instruct-q4_K_M"
|
||||
))
|
||||
)
|
||||
overview_timeout_seconds: int = int(os.getenv("OVERVIEW_TIMEOUT_SECONDS", "240"))
|
||||
caption_meili_batch_size: int = max(
|
||||
1,
|
||||
int(os.getenv("CAPTION_MEILI_BATCH_SIZE", "500")),
|
||||
|
||||
Reference in New Issue
Block a user