From 1ed2555c26690ae6f1b4c9d478ee63bf9500cfe3 Mon Sep 17 00:00:00 2001 From: Sleeps Date: Thu, 8 Oct 2026 16:17:12 +0100 Subject: [PATCH] Allow separate text-capable Ollama model for specialist visual overviews --- scene_search/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scene_search/config.py b/scene_search/config.py index 860f143..23e602b 100644 --- a/scene_search/config.py +++ b/scene_search/config.py @@ -62,6 +62,10 @@ class Settings: or os.getenv("CAPTION_MODEL") or "huihui_ai/qwen3-vl-abliterated:4b-instruct-q4_K_M" ) + # Optional text-only model for mature-caption summaries. Empty falls back + # to the general Overview model; the specialist image captioner may not + # be a good text-only summarizer. + overview_specialist_model: str = os.getenv("OVERVIEW_SPECIALIST_MODEL", "").strip() overview_timeout_seconds: int = int(os.getenv("OVERVIEW_TIMEOUT_SECONDS", "240")) caption_meili_batch_size: int = max( 1,