llm, change exit to return to prevent session from closing.
This commit is contained in:
@@ -339,7 +339,7 @@
|
||||
ollama pull {{ llm.model }} || {
|
||||
status=$?
|
||||
echo "ERROR: Pull failed with status $status, exiting."
|
||||
exit $status
|
||||
return $status
|
||||
}
|
||||
{% endfor %}
|
||||
echo "Done!!"
|
||||
|
||||
Reference in New Issue
Block a user