feat(ai): add role prompt; hide thinking in oneliner script only
This commit is contained in:
parent
346a727161
commit
e5af5047d8
1 changed files with 6 additions and 6 deletions
12
ai.sh
12
ai.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue