Thoughts do not turn into collapsible when streaming is disabled #3430

Closed
opened 2025-11-11 15:31:34 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @suurt8ll on GitHub (Jan 25, 2025).

Bug Report

Installation Method

Installed via Docker.

Environment

  • Open WebUI Version:: v0.5.7
  • Ollama: 0.5.7-0-ga420a45-dirty
  • Operating System:: Debian 12

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Model's thoughts get formatted as a nice collapsible, regardless if streaming is enabled or not.

Actual Behavior:

If streaming is tuned off then the output will not get formatted.

Description

Bug Summary:

If streaming is tuned off then the output will not get formatted. Tags indicating thinking and the thought block itself remain visible in raw format.

Reproduction Details

Steps to Reproduce:

  1. Select a reasoning model (i.e. deepseek-r1:1.5b)
  2. Disable streaming in the side menu (Controls -> Stream Chat Response: Off)
  3. Prompt the model
  4. Final output is not formatted

Logs and Screenshots

Screenshots/Screen Recordings:

Streaming enabled:

Image

Streaming disabled:

Image

Originally created by @suurt8ll on GitHub (Jan 25, 2025). # Bug Report ## Installation Method Installed via Docker. ## Environment - **Open WebUI Version:**: v0.5.7 - **Ollama:** 0.5.7-0-ga420a45-dirty - **Operating System:**: Debian 12 **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [ ] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: Model's thoughts get formatted as a nice collapsible, regardless if streaming is enabled or not. ## Actual Behavior: If streaming is tuned off then the output will not get formatted. ## Description **Bug Summary:** If streaming is tuned off then the output will not get formatted. Tags indicating thinking and the thought block itself remain visible in raw format. ## Reproduction Details **Steps to Reproduce:** 1. Select a reasoning model (i.e. deepseek-r1:1.5b) 2. Disable streaming in the side menu (Controls -> Stream Chat Response: Off) 3. Prompt the model 4. Final output is not formatted ## Logs and Screenshots **Screenshots/Screen Recordings:** Streaming enabled: ![Image](https://github.com/user-attachments/assets/a3f29fcf-0c26-4b51-ac2c-8fa83af854d2) Streaming disabled: ![Image](https://github.com/user-attachments/assets/fd9b1dee-2725-4984-bc0a-bad5cbecd3f4)
Author
Owner

@silentoplayz commented on GitHub (Jan 26, 2025):

I can confirm this issue is present on the latest dev branch. Good catch!

@silentoplayz commented on GitHub (Jan 26, 2025): I can confirm this issue is present on the latest dev branch. Good catch!
Author
Owner

@tjbck commented on GitHub (Jan 26, 2025):

Intended behaviour here, might change my mind later down the line.

@tjbck commented on GitHub (Jan 26, 2025): Intended behaviour here, might change my mind later down the line.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3430