mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 08:15:00 -05:00
[PR #9984] [CLOSED] fix: not ending the content_block if tag starts and ends in the same chunk #9241
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/9984
Author: @xmcp
Created: 2/14/2025
Status: ❌ Closed
Base:
dev← Head:fix-9900📝 Commits (1)
b1834f6fix: not ending the content_block if a tag starts and ends in the same chunk📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+1 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Fixes #9900 by looking for the end_tag_pattern in the same chunk where start_tag_pattern is detected
Fixed
Additional Information
See the comments under #9900
Screenshots or Videos
See the comments under #9900
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.