Commit Graph
1 Commits
Author SHA1 Message Date
BlackAngelTV 60984e70ec feat(backend): keep the model resident and load it before it is asked
Ollama drops an idle model after five minutes by default, so the first
question after a pause pays the whole several-second load. Every chat request
now carries keep_alive (30 minutes by default) and POST /api/chat/warm loads
the weights on demand, letting a client wake the model while the user is
still writing. A warm-up that fails answers warmed=false instead of an error:
it is an optimisation, not a step the answer depends on.
2026-10-06 20:03:31 +02:00