mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #8785] In version 0.5.6, there is a parsing error with the <think> tag in Pipe.
#53921
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 @cr-zhichen on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8785
Installation Method
Deployed using Docker-compose.
Environment
Open WebUI Version: v0.5.6
Ollama (if applicable): N/A (Not explicitly mentioned)
Operating System: [Please specify your OS]
Browser: Microsoft Edge 132.0.2957.115 (Official build) (64-bit)
Confirmation:
Expected Behavior:
When using a custom Pipe function to generate content wrapped in
<think>tags, the frontend should properly parse and display the content without duplication.Actual Behavior:
The frontend parsing shows duplicated content errors when using the custom Pipe implementation.
Description
Bug Summary:
Custom Pipe implementation with
<think>tag generation causes duplicate parsing errors in frontend rendering.Reproduction Details
Steps to Reproduce:
Code Implementation:
Screenshots
Additional Information
<think>tag structureNote
Please help investigate why the frontend parser duplicates content when handling custom XML-style tags through the Pipe implementation. The provided screenshots show unexpected duplicated "0" values in the output.