web-ui icon indicating copy to clipboard operation
web-ui copied to clipboard

Not working with latest version of Ollama

Open evcharger opened this issue 7 months ago • 7 comments

Hello, The latest version of web-ui does not seem to work with Ollama 0.6.8 - latest version as of now. I am getting an error that Ollama is not found. Previous versions of web-ui have no problems.

evcharger avatar May 15 '25 07:05 evcharger

try to set Tool Calling Method=raw or json mode

vvincent1234 avatar May 15 '25 11:05 vvincent1234

i am having the same issue, and setting the tool calling method, didn't fix it

moda20 avatar May 17 '25 21:05 moda20

try to set Tool Calling Method=raw or json mode

This is not working for me

jinyang-dev avatar May 19 '25 12:05 jinyang-dev

you guys can try qwen3:8b or bigger

warmshao avatar May 19 '25 14:05 warmshao

I got a little further by tracing the python ollama client code

https://github.com/browser-use/web-ui/pull/603

basically add OLLAMA_HOST as an env var into your web-ui container

TheDynomike avatar May 19 '25 21:05 TheDynomike

Ok, now it works, but for some reason it refuses to use the specified model(available and downloaded on ollama machine) and triggers Ollama to start downloading (I have no idea what). I haven't traced to see what exactly its downloading and why.

evcharger avatar May 27 '25 12:05 evcharger

@TheDynomike Adding the OLLAMA_HOST as an env var is what helped me fix my issue. Now I just gotta find out why ANONYMIZED_TELEMETRY would be set to false by default and not true, or if it's slightly misleading and is referring to mean if it should send anonymized telemetry data or not send anything at all. 🕵️

jonny255 avatar Aug 02 '25 18:08 jonny255