diff --git a/homelab-ai-bot/__pycache__/llm.cpython-311.pyc b/homelab-ai-bot/__pycache__/llm.cpython-311.pyc index 26faf052..ef3052c8 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 c6c5f36d..5ef217a5 100644 --- a/homelab-ai-bot/llm.py +++ b/homelab-ai-bot/llm.py @@ -27,6 +27,15 @@ OLLAMA_MODELS = {MODEL_LOCAL, MODEL_VISION, FALLBACK_MODEL} PASSTHROUGH_TOOLS = {"get_temperaturen", "get_energie", "get_heizung"} +_LOCAL_OVERRIDES = [ + "api kosten", "api-kosten", "guthaben", "openrouter", + "container", "status", "fehler", "logs", "service", + "backup", "feed", "memory", "gedaechtnis", "gedächtnis", + "mail", "seafile", "forgejo", "grafana", "prometheus", + "savetv", "save.tv", "filmtipp", "aufnahme", + "wordpress", "matomo", "tailscale", + "unsere api", "meine api", "die api", +] _WEB_TRIGGERS = [ "recherche", "recherchiere", "suche im internet", "web search", "preis", "preise", "kostet", "kosten", "price",