mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
bug: Users Can Edit Generated Code Within Code Blocks #2739
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!!