Update teller.zsh

This commit is contained in:
Arma-Damna-Dillo 2025-01-14 17:49:28 +00:00
parent 3e60f1a478
commit 5cfd80cb56

View file

@ -8,7 +8,7 @@ fi
# Fetch the fortune message # Fetch the fortune message
if [[ "$1" == "samantha-mode" ]]; then if [[ "$1" == "samantha-mode" ]]; then
if ! ollama ls &>/dev/null; then if ! command -v ollama &>/dev/null; then
echo "Error: You can not use Samantha Mode because you are missing Ollama." echo "Error: You can not use Samantha Mode because you are missing Ollama."
fi fi
FORTUNE="$(ollama run sparksammy/tinysam-l3.2:latest \"Please generate a pretend quote. It should be on a random topic, not just code. Show only the quote.\")" FORTUNE="$(ollama run sparksammy/tinysam-l3.2:latest \"Please generate a pretend quote. It should be on a random topic, not just code. Show only the quote.\")"