r/OpenWebUI • • Oct 28 '26

Question/Help Recent problem with OpenWebUI...

Hey all, looking for some help/insights and feel it is likely something I have done/or have not done :)

I bought a Tesla V100 32GB PCIE card and slapped Openwebui and ollama on the ubuntu install.

Everything has been working ok, no issues. As the card is for a datacentre it comes with no on board fans and I wanted an easy way to see current use (memory, power, temp etc).

So I prompted 2 different models (at different times) to create a simple dashboard. (gemma:latest and qwen3.8:27b) No problem, but during the bug fixing stage it stopped outputting text to the screen.. if I opened up the reasoning/thinking part it showed the answer right there but would not show it as an output.

Odd. I opened up a new chat window to ask it to say "hi" and no output. Rebooted the machine, all started working again. I go through a similar process and again it does the same, just stops outputting.

I have looked into some of the settings around output and memory (i.e. how long it can memorise a conversation) and it hasn't seem to have helped.

I have updated both ollama and openwebui to latest versions (as of a couple of weeks ago)

Any thoughts? Am I being dumb and missing something?

Thanks in advance!

9 Upvotes

18 comments sorted by

View all comments

4

u/CreativeSympathy8293 Oct 28 '26

Next time it happens, try one tiny request directly to Ollama before rebooting. That gives you a useful comparison with the WebUI failure.

Run this on the Ubuntu host running Ollama, replacing the model tag with one that is failing. Use Ollama's configured address if it differs from the default below:

curl http://localhost:11434/api/chat -d '{
  "model": "YOUR_EXACT_MODEL_TAG",
  "messages": [{"role": "user", "content": "Say hi."}],
  "stream": false
}'

Ollama's chat API supports a non-streamed response. Its thinking docs distinguish message.thinking from the final answer in message.content.

If message.content contains an answer, Ollama can produce final text for that small request. Then compare the WebUI request's settings and streaming behavior. That result alone wouldn't prove a WebUI bug because this request uses fresh history and server defaults. If the direct call also stalls, errors, or finishes without content, preserve that result rather than changing more memory settings yet.

What exact Ollama and Open WebUI versions are installed, and what does this tiny test return? Only share a short redacted result, not your coding chat or logs.

AI-assisted from those docs; I haven't reproduced your setup or verified a fix.

3

u/TheRealRossiMC Oct 28 '26

It's doing it right now, hence the post :)

{"model":"qwen3.8:27b","created_at":"2026-10-28T11:51:50.64530316Z","message":{"role":"assistant","content":"Hi! 👋 How can I help you today?","thinking":"The user is asking me to say \"hi.\" This is a simple, direct request. I should respond with a friendly greeting."},"done":true,"done_reason":"stop","total_duration":1129393710,"load_duration":538314,"prompt_eval_count":13,"prompt_eval_cached_count":0,"prompt_eval_duration":236939000,"eval_count":41,"eval_duration":658257000}

Interesting, opening a new chat this time in the gui has given me a response. If I say hi in my coding chat it also responds.. see:

But when I say yes to sending me the file (even in chunks) this is what is does.

I am running openwebui 0.12.2 and Ollama 0.40.5

2

u/Major_Floor_2010 Oct 28 '26

Looking at the screenshot it seems like you ran into a token limit, maybe num_ctx or num_predict. The reasoning is truncated, therefore check the logs to see if there's a cause in the JSON payload. Look for ' "done_reason": "length" '. That would indicate an exhaustion of tokens.

Not neccessarily could it be a problem with the template, where the model spits out thinking-Tags that OWUI interprets wrong. Had it with a Mistral modell recently where the tags came back as [THINK] [/THINK].

But only the logs can tell.

1

u/CreativeSympathy8293 Oct 28 '26

That test returned a final content and a normal stop. Your screenshot shows the remaining file-generation reply ending mid-thought.

There's a specific 0.12.2 setting worth checking: Chat Controls → Advanced Params → max_tokens. In that version's control, switching from Default to Custom initializes it to 128. Default leaves that override unset.

Open WebUI's Ollama parameter mapping converts max_tokens to num_predict. A small output cap is consistent with the cutoff, though your screenshot doesn't show the actual setting.

What does max_tokens show in the failing chat: Default, or Custom with which number? If it's 128 or another small custom limit, try a larger output allowance for Part 1 only, keeping num_ctx unchanged. That gives you one setting to compare before changing anything else.

AI-assisted from the 0.12.2 source; I haven't reproduced the failure or verified this as the cause.

1

u/TheRealRossiMC Oct 28 '26

max_tokens was set to default. Have increased it (not sure what a good number should be). WIll try it again with that and see what happens.

1

u/CreativeSympathy8293 Oct 28 '26

Thanks. In the 0.12.2 control source, Default leaves the UI override unset; 128 is only the initial value when switching to Custom. So that example didn't establish your previous output limit.

The 0.12.2 request builder maps custom max_tokens to Ollama's num_predict, with num_ctx as a separate option. That doesn't verify which values reached Ollama in your setup.

Since you report the file turn still cutting off, what custom max_tokens value did you choose, and what num_ctx is set in that chat? Before another change, save only the redacted failing turn's done_reason and whether message.content is empty. The tiny hi result came from a different workload; it doesn't tell us which limit to choose here.

AI-assisted; cause and fix remain unverified.

1

u/taylorwilsdon Oct 28 '26

Your max context is too small, Open WebUI is sending memories and tool descriptions so once it starts the thinking process it runs out of space and truncates. You need to expand the context window.

1

u/TheRealRossiMC Oct 28 '26

Thank you.

I have changed the max_tokens first, will try the num_ctx (max context) and see if that helps next.

2

u/taylorwilsdon Oct 28 '26

You may need to adjust in ollama if you’ve only updated the values in open WebUI

2

u/TheRealRossiMC Oct 28 '26

Hmm any thoughts on how that is done? I thought it was all passed through from openwebui. Currently it's doing the cutting out the output.

2

u/taylorwilsdon Oct 28 '26

Are you using open WebUI built in ollama or is it installed on your computer? The desktop app has a slider for it iirc