fix: add keep_alive to local-agent.sh — unloads model after 5m idle

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-16 07:48:42 +00:00
parent 796eb83204
commit d1537879b3

View file

@ -89,6 +89,7 @@ print(json.dumps({
'model': '${MODEL}',
'prompt': $(python3 -c "import json,sys; print(json.dumps(sys.stdin.read()))" <<< "$FULL_PROMPT"),
'stream': False,
'keep_alive': '5m',
'options': {
'temperature': 0.1,
'num_ctx': ${CTX_SIZE},