1
0
Fork 0
This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
librechat-mistral/ollama/bootstrap.sh

16 lines
230 B
Bash
Raw Normal View History

2024-02-03 03:27:22 +00:00
#!/bin/bash -x
# Ollama has trouble handling HTTP_PROXY
# https://github.com/ollama/ollama/issues/2168
unset HTTP_PROXY
unset http_proxy
2024-02-03 03:27:22 +00:00
ollama serve &
sleep 1
for model in ${@:-mistral}; do
ollama pull "$model"
done
wait