@ -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: