From e5af5047d81587394eacc22af345628803303bcb Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 22 Aug 2025 23:54:01 +0200 Subject: [PATCH] feat(ai): add role prompt; hide thinking in oneliner script only --- ai.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ai.sh b/ai.sh index cca6089..b19dae3 100644 --- a/ai.sh +++ b/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