feat(ai): hide thinking on CLI
This commit is contained in:
parent
7d164ad588
commit
5e47f12b04
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ if ! [ "$other_args" = "" ]; then
|
||||||
typora $tempfile > /dev/null 2>/dev/null &
|
typora $tempfile > /dev/null 2>/dev/null &
|
||||||
else
|
else
|
||||||
# If no -t flag, just run the command normally
|
# If no -t flag, just run the command normally
|
||||||
OLLAMA_HOST=$host ollama run $model "$other_args"
|
OLLAMA_HOST=$host ollama run $model "$other_args" --hidethinking
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
2
ai.sh
2
ai.sh
|
|
@ -57,7 +57,7 @@ if ! [ "$other_args" = "" ]; then
|
||||||
typora $tempfile > /dev/null 2>/dev/null &
|
typora $tempfile > /dev/null 2>/dev/null &
|
||||||
else
|
else
|
||||||
# If no -t flag, just run the command normally
|
# If no -t flag, just run the command normally
|
||||||
OLLAMA_HOST=$host ollama run $model "$other_args"
|
OLLAMA_HOST=$host ollama run $model "$other_args" --hidethinking
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue