From 2ffe8eb372860057b8a4d85e4765655f54c7059a Mon Sep 17 00:00:00 2001 From: Ayo Date: Thu, 21 Aug 2025 19:48:21 +0200 Subject: [PATCH] feat: start & stop the ollama service; make gpt-oss default --- ai.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ai.sh b/ai.sh index e4a911b..8120e78 100644 --- a/ai.sh +++ b/ai.sh @@ -1 +1,7 @@ -ollama run llama3:8b +sudo systemctl start ollama +if [ $1 = "llama" ]; then + ollama run llama3:8b +else + ollama run gpt-oss:20b +fi +sudo systemctl stop ollama