Add randomization to samantha mode

Add pseudo-randomization because samantha kept yapping about code....


....I guess the apple doesn't fall far from the tree.
This commit is contained in:
Arma-Damna-Dillo 2024-12-31 23:52:56 -06:00
parent dd84b32c25
commit cd893dcfe4

View file

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