Pin OLLAMA_KEEP_ALIVE so the model stays warm (30m default) #279
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/infrastructure#279
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The ollama role should pin
OLLAMA_KEEP_ALIVEso a loaded model stays resident longer than the 5-minute default.Why
During the OpenCode/Qwen-3 eval (#278), the first build-agent step took ~64s, much of it cold model load. Keeping
qwen3.5:9b-mlxwarm between requests removes that cold-start on back-to-back agent turns. Per-requestkeep_alivefrom the client would reset to the server default each call, so the durable fix is the server-sideOLLAMA_KEEP_ALIVEenv default.Change
ollama_keep_alivedefault (30m) +ollama_plistpath in the role defaults.OLLAMA_KEEP_ALIVEinto the launchd plistEnvironmentVariablesviaPlistBuddy(additive - leavesOLLAMA_FLASH_ATTENTION/OLLAMA_KV_CACHE_TYPEalone) andlaunchctl bootout/bootstrap-reloads only on drift. Idempotent: re-converge reportschanged=0.