From 9d24b8e0441531576e435e2b26f652fcc956ca8e Mon Sep 17 00:00:00 2001 From: Massaki Archambault Date: Wed, 7 Feb 2024 22:28:03 -0500 Subject: [PATCH] handle quirk with ollama handling of http proxy --- ollama/bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ollama/bootstrap.sh b/ollama/bootstrap.sh index 714c659..3b625c1 100755 --- a/ollama/bootstrap.sh +++ b/ollama/bootstrap.sh @@ -1,5 +1,10 @@ #!/bin/bash -x +# Ollama has trouble handling HTTP_PROXY +# https://github.com/ollama/ollama/issues/2168 +unset HTTP_PROXY +unset http_proxy + ollama serve & sleep 1