fix(llm): Local-Override Routing — Homelab-Fragen immer lokal, auch mit Kosten-Keywords
_LOCAL_OVERRIDES pruefen vor _WEB_TRIGGERS: api kosten, guthaben, container, feed, backup, etc. gehen immer ans lokale Modell.
This commit is contained in:
parent
fb9cf30897
commit
eac6492fa0
2 changed files with 9 additions and 0 deletions
Binary file not shown.
|
|
@ -27,6 +27,15 @@ OLLAMA_MODELS = {MODEL_LOCAL, MODEL_VISION, FALLBACK_MODEL}
|
||||||
|
|
||||||
PASSTHROUGH_TOOLS = {"get_temperaturen", "get_energie", "get_heizung"}
|
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 = [
|
_WEB_TRIGGERS = [
|
||||||
"recherche", "recherchiere", "suche im internet", "web search",
|
"recherche", "recherchiere", "suche im internet", "web search",
|
||||||
"preis", "preise", "kostet", "kosten", "price",
|
"preis", "preise", "kostet", "kosten", "price",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue