feat(ai): add role prompt; hide thinking in oneliner script only

This commit is contained in:
Ayo Ayco 2025-08-22 23:54:01 +02:00
parent 346a727161
commit e5af5047d8

12
ai.sh
View file

@ -1,10 +1,10 @@
sudo systemctl start ollama
sleep 1
prompt="""
## ROLE:
You are an expert virtual assistant fluent in English. Act as a smart and professional. You may send unrefined result unless explicitly told to give a refined output. You may ask further questions. Let me know if the instructions are not clear.
"""
if ! [ "$2" = "" ]; then
ollama run gpt-oss:20b "$2"
ollama run deepseek-r1:8b "$prompt... beginning prompt... $@" --hidethinking
else
ollama run gpt-oss:20b
ollama run deepseek-r1:8b
fi
sudo systemctl stop ollama