Originally created by @Simi5599 on GitHub (Nov 21, 2024).
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: 0.4.2
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:
When the LMM generates code within a block, I should only be able to edit it by modifying the model message
Actual Behavior:
The user can edit the code, but when the page is refreshed, it reverts to the version generated by the LMM
Reproduction Details
Steps to Reproduce:
Request the LMM to generate any code.
Wait for the response to arrive.
Navigate to the generated code and make edits.
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
In this screenshot, I am requesting the LMM to generate code
In this screenshot, I am adding a new line
Additional Information
This issue also occurred prior to the 0.4.x update, indicating that it was not introduced in this version. It is present in both desktop and mobile browsers, so it is not related to any specific browser.
Originally created by @Simi5599 on GitHub (Nov 21, 2024).
# Bug Report
## Installation Method
Docker
## Environment
- **Open WebUI Version:** 0.4.2
**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:
When the LMM generates code within a block, I should only be able to edit it by modifying the model message
## Actual Behavior:
The user can edit the code, but when the page is refreshed, it reverts to the version generated by the LMM
## Reproduction Details
**Steps to Reproduce:**
1) Request the LMM to generate any code.
2) Wait for the response to arrive.
3) Navigate to the generated code and make edits.
## Logs and Screenshots
**Screenshots/Screen Recordings (if applicable):**
In this screenshot, I am requesting the LMM to generate code

In this screenshot, I am adding a new line

## Additional Information
This issue also occurred prior to the 0.4.x update, indicating that it was not introduced in this version. It is present in both desktop and mobile browsers, so it is not related to any specific browser.
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 @Simi5599 on GitHub (Nov 21, 2024).
Bug Report
Installation Method
Docker
Environment
Confirmation:
Expected Behavior:
When the LMM generates code within a block, I should only be able to edit it by modifying the model message
Actual Behavior:
The user can edit the code, but when the page is refreshed, it reverts to the version generated by the LMM
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
In this screenshot, I am requesting the LMM to generate code
In this screenshot, I am adding a new line
Additional Information
This issue also occurred prior to the 0.4.x update, indicating that it was not introduced in this version. It is present in both desktop and mobile browsers, so it is not related to any specific browser.
@tjbck commented on GitHub (Nov 21, 2024):
Intended behaviour
@Simi5599 commented on GitHub (Nov 21, 2024):
Understandable, thanks a lot!!