feat(ai): add update subcommand

This commit is contained in:
ayo 2026-03-03 09:15:21 +01:00
parent d6f4ebe3a8
commit b41a64305c

2
ai.sh
View file

@ -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