mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #6146] Incorrect numbering on unordered numbered lists #52924
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 @lufixSch on GitHub (Oct 12, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6146
Bug Report
Installation Method
Docker/Docker-Compose
Environment
Open WebUI Version: 0.3.32
Operating System: Debian
Browser (if applicable): Firefox
Confirmation:
Expected Behavior:
The numbering in a list displayed in OpenWebUI should be the same as the numbering produced by the LLM.
I already reported a similar issue some weeks prior (#5369). Even though the specific edge case was fixed, the core issue still persists. I expect the rendered Markdown to adhere to the LLM output.
Actual Behavior:
When rendering a numbered list generated by the LLM, the numbering provided by the LLM is ignored
Description
Bug Summary:
When the LLM generates a numbered List in Markdown, the numbering of the lists continuous based on the first number in the list. If the list is unordered or a number is missing, all following numbers don't match the LLM output. This happens even though the LLM numbered the items correctly.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
Original Markdown:
Rendered Markdown
