classifier: Add fallback model for transient LLM failures
The 26b model occasionally hangs or fails outright on the local Ollama box, which used to drop every such update into 'manual' for no good reason. Retry the same prompt with a smaller model before giving up, and surface both errors when even the fallback fails. OLLAMA_FALLBACK_MODEL is new config, see .env.sample.
This commit is contained in:
parent
2df588b957
commit
86268107fa
2 changed files with 19 additions and 2 deletions
|
|
@ -23,3 +23,4 @@ UPTIME_KUMA_PASSWORD=your-password
|
|||
# Ollama for AI-driven auto-update classification
|
||||
OLLAMA_BASE_URL=http://192.168.1.20:11434
|
||||
OLLAMA_MODEL=gemma4:26b
|
||||
OLLAMA_FALLBACK_MODEL=gemma4:12b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue