Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

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

Jeffrey Morgan5ee611642049
diff --git a/api/client.go b/api/client.go
index a1ddf667c..fe05f75f6 100644
--- a/api/client.go
+++ b/api/client.go
@@ -12,7 +12,7 @@ import (
"os"
)
-const DefaultHost = "localhost:11434"
+const DefaultHost = "http://localhost:11434"
var (
envHost = os.Getenv("OLLAMA_HOST")