Add ollama-plagin-swap remote swap control plugin

This commit is contained in:
Andrew Emelyaneko
2026-10-31 19:27:59 +03:00
commit be7932441c
13 changed files with 1549 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
{
"bind_host": "10.8.0.62",
"port": 8731,
"token": "replace-with-strong-token",
"allow_insecure": false,
"poll_interval_seconds": 60,
"swap_threshold_percent": 25,
"cooldown_seconds": 600,
"max_restarts_per_hour": 2,
"restart_force_after_seconds": 300,
"health_url": "http://127.0.0.1:11434/api/tags",
"ollama_ps_url": "http://127.0.0.1:11434/api/ps",
"launch_agent_plist": "~/Library/LaunchAgents/com.ollama.serve.plist",
"linux_service": "ollama"
}