mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-08 10:13:22 -05:00
Code blocks disappear after chat completion #2736
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 @Fishforgithub on GitHub (Nov 21, 2024).
Code blocks disappear after chat completion
Issue Description
When using Open WebUI with CodeLlama, the code blocks in the chat interface are not displaying properly. While the AI is responding, the code blocks are visible and properly formatted. However, after the response is complete, all code blocks are replaced with text saying "代碼區塊" (Code Block).
Steps to Reproduce
Expected Behavior
Current Behavior
Environment
Additional Information
Screenshots
Possible Related Issues