OpenWebUI has recently added support for thinking tags. However, reasoning tokens from reasoning models in OpenRouter, such as DeepSeek R1 and its distilled variants, are still not visible in OpenWebUI. This is because the OpenRouter API places them in a separate "reasoning" field instead of including them in the actual response message.
This pipe enables the reasoning tokens of specified models and moves those tokens into the response message, allowing OpenWebUI to detect and display them visually.
After installing and enabling this pipe, new models will be added with the Thinking... feature. These models are prefixed with reasoning/:
- reasoning/deepseek/deepseek-r1:free
- reasoning/deepseek/deepseek-r1-distill-llama-70b
- reasoning/deepseek/deepseek-r1
You can modify this list in the code under the pipes() function.
You may encounter an issue with generated titles. To resolve this:
- Navigate to the Admin Panel → Settings → Interface.
- Change the Task Model option to something other than "Current Model".
