diff --git a/homelab-ai-bot/__pycache__/llm.cpython-311.pyc b/homelab-ai-bot/__pycache__/llm.cpython-311.pyc index ef3052c8..ab938b59 100644 Binary files a/homelab-ai-bot/__pycache__/llm.cpython-311.pyc and b/homelab-ai-bot/__pycache__/llm.cpython-311.pyc differ diff --git a/homelab-ai-bot/llm.py b/homelab-ai-bot/llm.py index 5ef217a5..e05f362a 100644 --- a/homelab-ai-bot/llm.py +++ b/homelab-ai-bot/llm.py @@ -215,6 +215,8 @@ def _route_model(question: str) -> str: q = question.lower() if any(t in q for t in _DEEP_TRIGGERS): return "deep_research" + if any(t in q for t in _LOCAL_OVERRIDES): + return MODEL_LOCAL if any(t in q for t in _WEB_TRIGGERS): return MODEL_ONLINE return MODEL_LOCAL