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:
parent
796eb83204
commit
d1537879b3
1 changed files with 1 additions and 0 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue