Browse Source

set default `OLLAMA_HOST` to `http://localhost:11434`

Jeffrey Morgan 1 year ago
parent
commit
5ee6116420
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/client.go

+ 1 - 1
api/client.go

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