Browse Source

changed an error message

model_as_env_variable
Jonathan Dunn 9 months ago
parent
commit
38c09afc85
  1. 4
      installer/client/cli/utils.py

4
installer/client/cli/utils.py

@ -126,6 +126,10 @@ class Standalone:
print() # Handle newlines
sys.stdout.flush()
except Exception as e:
if "All connection attempts failed" in str(e):
print(
"Error: cannot connect to llama2. If you have not already, please visit https://ollama.com for installation instructions")
else:
print(f"Error: {e}")
print(e)
if self.args.copy:

Loading…
Cancel
Save