ivanfioravanti / chatbot-ollama

Chatbot Ollama is an open source chat UI for Ollama.
Other
1.33k stars 217 forks source link

Ollama API returned an error 404: 404 page not found #26

Closed yinrong closed 4 months ago

yinrong commented 7 months ago

ollama is working, but chatbot-ollama reports 404 error

docker run --rm -it -e OLLAMA_HOST="http://127.0.0.1:11434/" --net=host -e DEFAULT_MODEL=llama2 --name chatbot-ollama ghcr.io/ivanfioravanti/chatbot-ollama:main

image image

Toasterbirb commented 6 months ago

In my case removing the slash from the end of the OLLAMA_HOST URL fixed this issue. So in your case the variable would be OLLAMA_HOST="http://127.0.0.1:11434" instead of OLLAMA_HOST="http://127.0.0.1:11434/"

ivanfioravanti commented 4 months ago

@Toasterbirb is right! Great!