Originally created by @olek-osikowicz on GitHub (Mar 18, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
Problem Description
When clicking on a code block, there is an option to ask model to explain it.
Then the thinking model, is just streaming raw response with <think></think> tags.
See the current behaviour below:
I believe the correct solution would be collapsing the thinking with <details> tag, as it is currently done in regular chat:
Additional Context
Tested using:
deepseek-r1-32b
Open-WebUI v0.5.20
Originally created by @olek-osikowicz on GitHub (Mar 18, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
When clicking on a code block, there is an option to ask model to explain it.
Then the thinking model, is just streaming raw response with `<think></think>` tags.
See the current behaviour below:
https://github.com/user-attachments/assets/e7c6bf32-10bb-40c7-8d8a-5b62a767f1ad
### Desired Solution you'd like
I believe the correct solution would be collapsing the thinking with `<details>` tag, as it is currently done in regular chat:

### Additional Context
Tested using:
- deepseek-r1-32b
- Open-WebUI v0.5.20
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @olek-osikowicz on GitHub (Mar 18, 2025).
Check Existing Issues
Problem Description
When clicking on a code block, there is an option to ask model to explain it.
Then the thinking model, is just streaming raw response with
<think></think>tags.See the current behaviour below:
https://github.com/user-attachments/assets/e7c6bf32-10bb-40c7-8d8a-5b62a767f1ad
Desired Solution you'd like
I believe the correct solution would be collapsing the thinking with
<details>tag, as it is currently done in regular chat:Additional Context
Tested using: