mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-13 17:27:05 +00:00
set default OLLAMA_HOST to http://localhost:11434
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user