Configure optional text-only Ollama model for Jellyfin visual overviews

This commit is contained in:
Sleeps
2026-10-08 15:45:40 +01:00
parent b938c433f0
commit 565fe7520f
+7
View File
@@ -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")),