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