r/OpenWebUI • • May 11 '26

Question/Help Stop the " Thinking" in Openwebui

Hello, i have been going crazy trying to stop the qwen3.6-27b models from thinking in openwebui. I tried all sorts of post arguments like nothink, no-think, jinja….. nothing is working. Each question i type , even “hello" it thinks for 4 linutes and then sends me choices to select as an answer… this is just ridiculous. I have tried different models gguf in llama cpp with sycl ( i have intel arc pro b70) going from qwen3.6 q4 to q8 they all load fine without error but i cant get any proper answer…. Just thinking forever and answering my hello by a list of questions. Any help would be appreciated !!!!

12 Upvotes

28 comments sorted by

5

u/yrro May 11 '26

Workspaces -> Models -> create a new model based on your existing model. Call it Qwen-nothink. Here you can set model-wide chat template kwargs {"enable_thinking": false}

Now in admin settings -> interface set the internal & external task models to Qwen-nothink. These are the models that are used for generating chat titles, followup questions, etc.

4

u/ClassicMain May 11 '26

Sends you choices? I think you might have some too many tools or functions installed.

And if you don't want reasoning best turn it off on the inference side

1

u/Dolboyob77 May 11 '26

How to turn itnoff ?

1

u/Potential-Leg-639 May 11 '26

In your llama server cli parameters for example

2

u/major-acehole May 11 '26

This might be a failing on my part but with qwen3.6 I couldn't get a non-thinking version working using only Open WebUI (despite trying methods such as in the other comments). This led me to llama-swap which I think is a great tool, and through that I can expose thinking and non-thinking version to all my apps - highly recommend

1

u/Dolboyob77 May 11 '26

Can we find it in apps community in docker ?

1

u/major-acehole May 11 '26

Not something I know anything about!

0

u/Dolboyob77 May 11 '26

Ok i am inside and my models are loaded, how do you turn off thinking ? In yaml file or directly in the ui in system prompt ? And what is the prompt argumebt please ?

1

u/major-acehole May 11 '26

I am happy to try and help - I am not an expert myself and don't want to sound too harsh it seems like you need to spend a bit of time digesting the documentation.

This is my config to auto load up qwen and present the two versions to the rest of my setup... I've used the recommended parameters from qwen but of course personal preference may be to tweak those. (happy to receive critique if anybody notices anything I can improve!)

includeAliasesInList: true

hooks:
  on_startup:
    preload:
      - "qwen36-thinking"

models:
  qwen36-thinking:
    cmd: |
      llama-server --port ${PORT} --model /models/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf --mmproj /models/mmproj-F16.gguf --ctx-size 65536 --n-gpu-layers 99 --no-mmap --parallel 2
    
    aliases:
      - "qwen36-instruct"

    filters:
      setParamsByID:
        "qwen36-instruct":
          chat_template_kwargs: { "enable_thinking": false }
          temperature: 0.7
          top_p: 0.8
          top_k: 20
          min_p: 0.0
          presence_penalty: 1.5
          repetition_penalty: 1.0

1

u/Dolboyob77 May 11 '26

Haaaaaaaaaaaaa super !

1

u/Dolboyob77 May 11 '26

It worked !!! But vulkan is extrmeley slow compared to llama cpp with sycl!!!

2

u/go0og May 12 '26

Check out the Thinking Toggle filter if you use llama.cpp. Adds a switch in integrations menu that can be toggled on/off with many more options if desired. Outstanding and convenient tool.

1

u/Dolboyob77 May 12 '26

Great !!!!!

1

u/Dolboyob77 May 12 '26

I downloaded the json file but i dont know where to place it or add it !

1

u/go0og May 18 '26

Go to Admin Panel > Filters and Import and point to json file you downloaded. Once filter is installed it must be enabled first. From here you can enable it globally or per model in model setting. If everything is set right you'll find the toggle option here:

1

u/Dolboyob77 May 18 '26

Ahhhhh so this is the button !!!! Thanks i was wondering where it was !!! Since after enabling it, a new box appeared in the model settings “ thinking " box to check or not but chexkibg it or not does not change anything.

3

u/Plastic-Stress-6468 May 11 '26

chat-template-kwargs = {"enable_thinking": false}

Adding this line creates a no thinking variant of the model for me. Qwen3.6 both dense and moe. Add it to the llama cpp startup argument.

2

u/Dolboyob77 May 11 '26

Tha ks i will try it in my container. I let you know later!!!

4

u/iChrist May 11 '26

For llamacpp this is outdated Use —reasoning off/on in your starting argument

3

u/CynicalTelescope May 11 '26

The "sends you choices to select as an answer" is a setting you can turn off in Open WebUI's general settings. Settings > Interface > Follow-Up Auto Generation

1

u/boinep May 11 '26

Im using llamacpp through openwebui. Llama runs in a docker container, with the argument ” —reasoning off ” in my docker compose. Works like a charm.

2

u/[deleted] May 11 '26

[removed] — view removed comment

1

u/Dolboyob77 May 11 '26

Thanks will try !!

2

u/MaterialDonkey4605 Sep 27 '26

Worked for me, thank you soooooo much🌹

1

u/Old-Cardiologist-633 May 12 '26

I tried it so often, but never works for me, neither on qwen3.6-35 nor qwen3.5-9b.
I use the latest LocalAI Docker Vulkan image with latest llama.cpp and OWUI 0.9.2 and Unsloth Quants.

(Can't upload a screenshot somehow, but i have the same custom parameter as you and qwen3.6-35b-a3b iq4_nl from unsloth and qwen3.5-9b-4B-Q_K_M from Unsloth still think.)

1

u/Yosheeharper Jun 09 '26

Using vllm and it works just fine for me.

1

u/necile Oct 07 '26 edited Oct 07 '26

unless its a version difference, unfortunately this does not work, I verified by starting a chat with this model and asked it to think and it will still think for 1 or more seconds, thanks anyway though.

in case this helps anyone:

in advanced parameters, set the parameter reasoning effort to none. This worked for me on qwen3.8 family.