You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Env var OLLAMA_BASE_URL is inconsistent with actual Ollama-held env var name #1940
OLLAMA_HOST is the real variable and graphify doesn't read it.
I'd suggest adding it as a fallback rather than renaming: OLLAMA_BASE_URL still wins if set (it matches our other *_BASE_URL vars, and renaming would break existing users), and we fall back to OLLAMA_HOST when it's unset.
Also worth deciding: should a bare OLLAMA_HOST auto-select the ollama backend the way OLLAMA_BASE_URL does today? It's a lot more likely to just be lying around in someone's env, so I'd keep it config-only for now and leave detection alone.
Activity
SinghAman21 commentedon Jul 16, 2026
OLLAMA_HOST is the real variable and graphify doesn't read it.
I'd suggest adding it as a fallback rather than renaming: OLLAMA_BASE_URL still wins if set (it matches our other *_BASE_URL vars, and renaming would break existing users), and we fall back to OLLAMA_HOST when it's unset.
Two gotchas for to pick this up:
Also worth deciding: should a bare OLLAMA_HOST auto-select the ollama backend the way OLLAMA_BASE_URL does today? It's a lot more likely to just be lying around in someone's env, so I'd keep it config-only for now and leave detection alone.
Small related thing: README says the default is http://localhost:11434, but the code says http://localhost:11434/v1. Worth fixing too.
Happy to PR this if the fallback approach sounds good.
@safishamsi
fix(llm): OLLAMA_HOST fallback in detect_backend + default port (foll…
chore: begin 0.9.21 cycle + changelog for #1940/#2027/#2030/#2037/#1983
fix(llm): fall back to OLLAMA_HOST when OLLAMA_BASE_URL is unset
fix(llm): OLLAMA_HOST fallback in detect_backend + default port (foll…
chore: begin 0.9.21 cycle + changelog for Graphify-Labs#1940/Graphify…