diff --git a/ai-coder.sh b/ai-coder.sh index 22f0c20..4e58868 100755 --- a/ai-coder.sh +++ b/ai-coder.sh @@ -33,3 +33,5 @@ if ! [ "$other_args" = "" ]; then else OLLAMA_HOST=$host ollama run $model --think=false fi + +OLLAMA_HOST=$host ollama stop $model diff --git a/ai.sh b/ai.sh index ef22e1d..696e365 100755 --- a/ai.sh +++ b/ai.sh @@ -64,3 +64,5 @@ if ! [ "$other_args" = "" ]; then else OLLAMA_HOST=$host ollama run $model --think=false fi + +OLLAMA_HOST=$host ollama stop $model