diff --git a/scene_search/config.py b/scene_search/config.py index 917dcc7..a10affb 100644 --- a/scene_search/config.py +++ b/scene_search/config.py @@ -50,6 +50,9 @@ class Settings: "CAPTION_SPECIALIST_MODEL", "aha2025/llama-joycaption-beta-one-hf-llava:Q4_K_M", ) + caption_force_specialist: bool = os.getenv( + "CAPTION_FORCE_SPECIALIST", "false" + ).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")) caption_prompt_file: Path = Path(