set default OLLAMA_HOST to http://localhost:11434

This commit is contained in:
Jeffrey Morgan 2023-08-16 12:22:59 -04:00
parent 5d9a4cd251
commit 5ee6116420

View file

@ -12,7 +12,7 @@ import (
"os" "os"
) )
const DefaultHost = "localhost:11434" const DefaultHost = "http://localhost:11434"
var ( var (
envHost = os.Getenv("OLLAMA_HOST") envHost = os.Getenv("OLLAMA_HOST")