Make agent unload resident Ollama models before threshold restarts

This commit is contained in:
Andrew Emelyaneko
2026-10-31 21:53:52 +03:00
parent c28ff0902b
commit 94765216c8
4 changed files with 79 additions and 2 deletions
+4
View File
@@ -32,6 +32,8 @@ case "${OS}" in
"poll_interval_seconds": 60,
"swap_threshold_percent": null,
"swap_threshold_mb": 3048,
"unload_models_before_restart": true,
"unload_wait_seconds": 3,
"cooldown_seconds": 600,
"max_restarts_per_hour": 2,
"restart_force_after_seconds": 300,
@@ -97,6 +99,8 @@ PLIST
"poll_interval_seconds": 60,
"swap_threshold_percent": null,
"swap_threshold_mb": 3048,
"unload_models_before_restart": true,
"unload_wait_seconds": 3,
"cooldown_seconds": 600,
"max_restarts_per_hour": 2,
"restart_force_after_seconds": 300,