Open MrJingLiguo opened 1 month ago
I'll look into this
Follow backend/README.md docs
Export OLLAMA_HOST
to set ollama URL
export OLLAMA_HOST="host.docker.internal:11434"
Add -e OLLAMA_HOST
to pass ollama URL to container
Add docker --add-host
command flag to allow access to localhost ollama.service
docker run -p 7878:7878 --add-host=host.docker.internal:host-gateway --name openui -e OLLAMA_HOST -e OPENAI_API_KEY wandb/openui
OLLAMA_HOST
variable is currently is missing from documentation - https://github.com/wandb/openui/blob/main/backend/README.md#usage
I am getting this too.
I fixed with: OLLAMA_HOST="http://192.168.1.2:11434" OPENAI_API_KEY=xxx python -m openui
When loading, use ollama to report an error