scripts/ai-coder.sh

11 lines
192 B
Bash

model=coder:30b
if ! [ "$2" = "" ]; then
if [ "$2" = "sleep" ]; then
ollama stop $model
else
ollama run $model "$@" --hidethinking
fi
else
ollama run $model --hidethinking
fi