File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44#
55
66OLLAMA_LIB_NAME=' Ollama Bash Lib'
7- OLLAMA_LIB_VERSION=' 0.45.10 '
7+ OLLAMA_LIB_VERSION=' 0.45.11 '
88OLLAMA_LIB_URL=' https://github.com/attogram/ollama-bash-lib'
99OLLAMA_LIB_DISCORD=' https://discord.gg/BGQJCbYVBa'
1010OLLAMA_LIB_LICENSE=' MIT'
@@ -776,7 +776,7 @@ ollama_generate_stream() {
776776 thinking=${thinking# \" } # strip first "
777777 thinking=${thinking% \" } # strip last "
778778 if [[ -n " $thinking " ]]; then
779- if [[ " $is_thinking " == ' false' ]] then
779+ if [[ " $is_thinking " == ' false' ]]; then
780780 # first thinking input received
781781 is_thinking=true
782782 printf ' \n#### %b' " $thinking "
@@ -790,7 +790,7 @@ ollama_generate_stream() {
790790 response=${response# \" } # strip first "
791791 response=${response% \" } # strip last "
792792 if [[ -n " $response " ]]; then
793- if [[ " $is_responding " == ' false' ]] then
793+ if [[ " $is_responding " == ' false' ]]; then
794794 # first response input received
795795 is_responding=true
796796 printf ' \n\n%b' " $response "
You can’t perform that action at this time.
0 commit comments