mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4714] [Issue]: Roleplay streaming shows formatting only after generation completes #2589
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2589
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @SpicyMarinara on GitHub (Aug 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4714
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In Roleplay mode, streamed response text remains visually unformatted while generation is in progress. Markdown, asterisk-based italics, dialogue colors, and other text formatting appear only after streaming finishes.
Expected behavior
Roleplay output should render supported formatting incrementally as text streams in. Completed Markdown spans, italicized asterisk spans, dialogue colorization, and other supported styling should become visible during generation without waiting for the entire response to finish.
Incomplete formatting syntax at the current stream boundary should be handled gracefully until the closing syntax arrives.
Actual behavior
The response streams as unformatted text. Once generation completes, the message is rerendered and its Markdown, italics, dialogue colors, and other formatting suddenly appear.
This makes the streaming presentation look inconsistent and causes a noticeable visual change at the end of every formatted response.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs, screenshots, or video were provided.
Additional context
This report concerns Roleplay mode's live streaming renderer. The final committed message already renders correctly, so the streaming presentation should reuse or share the same formatting behavior where practical.
Prefer a small solution that updates formatting as completed syntax becomes available during the stream. It should not require waiting for generation completion, and the final committed message should remain visually consistent with what was shown while streaming.
Suggested verification:
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 7, 2026):
Work is underway in draft PR #4717, owned by @SpicyMarinara.