You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My ollama instance is running within my network at https://ollama.foo.com, but your pgrep check prevents me from using it becuause it assume the ollama instance is a local process. Can you check for ollama connectivity instead of a process listing search?
if ! (( $(pgrep -f ollama | wc -l ) > 0 )); then
echo "🚨: zsh-ollama-command failed as OLLAMA server NOT running!"
echo "Please start it with 'brew services start ollama'"
return 1;
fi
The text was updated successfully, but these errors were encountered:
My ollama instance is running within my network at https://ollama.foo.com, but your pgrep check prevents me from using it becuause it assume the ollama instance is a local process. Can you check for ollama connectivity instead of a process listing search?
The text was updated successfully, but these errors were encountered: