mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
Formatting in for ``hcl and ``tf code response does not show code blocks properly.
#246
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 @mjtechguy on GitHub (Jan 31, 2024).
Bug Report
Description
Bug Summary:
Seems the "
hcl" and "tf" items are not respected the same as ```html items in the UI. When requesting Terraform code, it does not properly format the code block in the UI.Steps to Reproduce:
Expected Behavior:
The expectation is that the code is shown as a proper code block in the UI
Actual Behavior:
The
hcl andtf code flags are not properly shown like ```html is as a code block.Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
NA
Docker Container Logs:
NA
Screenshots (if applicable):

Installation Method
Installed using Docker
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@tjbck commented on GitHub (Feb 1, 2024):
Unable to reproduce the issue :/
I'll close this issue for now as I highly suspect that there was an issue with the model-end, if not you might want to try updating to the latest version and see if that fixes your issue! Keep us updated!