mirror of
https://github.com/ollama/ollama.git
synced 2025-06-02 04:59:32 +02:00
set default OLLAMA_HOST
to http://localhost:11434
This commit is contained in:
parent
5d9a4cd251
commit
5ee6116420
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user