feat(ai): add update subcommand
This commit is contained in:
parent
d6f4ebe3a8
commit
b41a64305c
1 changed files with 2 additions and 0 deletions
2
ai.sh
2
ai.sh
|
|
@ -60,6 +60,8 @@ if ! [ "$other_args" = "" ]; then
|
|||
|
||||
echo $ZES_ENABLE_SYSMAN
|
||||
echo $SYCL_CACHE_PERSISTENT
|
||||
elif [ "$other_args" = "update" ]; then
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
elif [ "$other_args" = "sleep" ]; then
|
||||
OLLAMA_HOST=$host ollama stop $model
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue