mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #22672] feat: Support :::writing blocks for OpenAI Chat models #35313
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 @ufozone on GitHub (Mar 14, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22672
Check Existing Issues
Verify Feature Scope
Problem Description
Newer OpenAI chat models (e.g.
gpt-5.3-chat-latest) can return standalone writing artifacts wrapped in a:::writingblock:These blocks are intended to clearly separate content that can be reused outside the chat (e.g. letters, posts, documentation, stories).
Currently, Open WebUI does not recognize or format these blocks. They are displayed as plain text including the
:::writingmarkers, which reduces readability and makes the content look like unformatted output instead of a structured text block.Desired Solution you'd like
Open WebUI should add native support for the
:::writingblock format.When a response contains:
the UI should detect and render it as a formatted writing block, similar to how code blocks or other structured elements are handled.
Possible behavior:
:::writingmarkers from the visible output.This would improve readability and ensure compatibility with newer OpenAI chat model output formats.
Alternatives Considered
No response
Additional Context
@tjbck commented on GitHub (Mar 21, 2026):
Addressed in dev.