From 1fb92886614b4ed6a80b8575136c604e13262ce6 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Wed, 1 Nov 2023 11:28:26 -0400 Subject: [PATCH] notify that the ollama api is available after linux install (#954) --- scripts/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 1fc0c139..9f54ce58 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -63,7 +63,10 @@ status "Installing ollama to $BINDIR..." $SUDO install -o0 -g0 -m755 -d $BINDIR $SUDO install -o0 -g0 -m755 $TEMP_DIR/ollama $BINDIR/ollama -install_success() { status 'Install complete. Run "ollama" from the command line.'; } +install_success() { + status 'The Ollama API is now available at 0.0.0.0:11434.' + status 'Install complete. Run "ollama" from the command line.' +} trap install_success EXIT # Everything from this point onwards is optional. @@ -130,6 +133,7 @@ if check_gpu nvidia-smi; then fi if ! check_gpu lspci && ! check_gpu lshw; then + install_success warning "No NVIDIA GPU detected. Ollama will run in CPU-only mode." exit 0 fi