I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
v0.6.5
Ollama Version (if applicable)
v0.6.5
Operating System
Windows 11
Browser (if applicable)
Edge
Confirmation
I have read and followed all instructions in README.md.
I am using 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 listed steps to reproduce the bug in detail.
Expected Behavior
When I send def __init__(self, text, parent=None, accent=False): in the chat window it should interpret it as such and not as def **init**(self, text, parent=None, accent=False):
Actual Behavior
I sent Python code to Chat GPT 4.1 and __init__ keeps showing up as **init**. This is causing GPT 4.1 to keep informing me of syntax errors in my code.
Steps to Reproduce
Select GPT 4.1 as the endpoint.
Paste is this valid syntax def __init__(self, text, parent=None, accent=False):
GPT will say no you need to change **init** to __init__
Logs & Screenshots
Additional Information
No response
Originally created by @updawg on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12864
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Docker
### Open WebUI Version
v0.6.5
### Ollama Version (if applicable)
v0.6.5
### Operating System
Windows 11
### Browser (if applicable)
Edge
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have listed steps to reproduce the bug in detail.
### Expected Behavior
When I send def \_\_init\_\_(self, text, parent=None, accent=False): in the chat window it should interpret it as such and not as def \*\*init\*\*(self, text, parent=None, accent=False):
### Actual Behavior
I sent Python code to Chat GPT 4.1 and \_\_init\_\_ keeps showing up as \*\*init\*\*. This is causing GPT 4.1 to keep informing me of syntax errors in my code.
### Steps to Reproduce
1. Select GPT 4.1 as the endpoint.
2. Paste is this valid syntax def \_\_init\_\_(self, text, parent=None, accent=False):
3. GPT will say no you need to change \*\*init\*\* to \_\_init\_\_
### Logs & Screenshots

### Additional Information
_No response_
GiteaMirror
added the bug label 2026-04-19 22:36:00 -05:00
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 @updawg on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12864
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.5
Ollama Version (if applicable)
v0.6.5
Operating System
Windows 11
Browser (if applicable)
Edge
Confirmation
README.md.Expected Behavior
When I send def __init__(self, text, parent=None, accent=False): in the chat window it should interpret it as such and not as def **init**(self, text, parent=None, accent=False):
Actual Behavior
I sent Python code to Chat GPT 4.1 and __init__ keeps showing up as **init**. This is causing GPT 4.1 to keep informing me of syntax errors in my code.
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Apr 14, 2025):
You can disable rich text input from settings > inteface