fix(llm): _LOCAL_OVERRIDES Check fehlte in _route_model — jetzt korrekt eingefuegt
This commit is contained in:
parent
eac6492fa0
commit
204fe8fe36
2 changed files with 2 additions and 0 deletions
Binary file not shown.
|
|
@ -215,6 +215,8 @@ def _route_model(question: str) -> str:
|
||||||
q = question.lower()
|
q = question.lower()
|
||||||
if any(t in q for t in _DEEP_TRIGGERS):
|
if any(t in q for t in _DEEP_TRIGGERS):
|
||||||
return "deep_research"
|
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):
|
if any(t in q for t in _WEB_TRIGGERS):
|
||||||
return MODEL_ONLINE
|
return MODEL_ONLINE
|
||||||
return MODEL_LOCAL
|
return MODEL_LOCAL
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue