mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4540] [Issue]: Roleplay streaming renders responses in visible chunks #2474
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#2474
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 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4540
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Streaming in Roleplay mode is still visibly delivered or rendered in chunks instead of updating smoothly. The text pauses and then advances in bursts, making a streaming response feel intermittently stalled.
Expected behavior
While a provider response is streaming, Roleplay mode should display frequent, smooth incremental text updates without perceptible pauses followed by large jumps.
Actual behavior
The visible response advances in discrete chunks. Text remains unchanged briefly, then several tokens or a larger segment appear at once.
Steps to reproduce
Environment
Logs, screenshots, or video
Firefox 2026-08-03 23.47 profile.json.gzThese long tasks corroborate substantial main-thread stalls during the reproduction, but they do not by themselves prove whether the chunking originates in provider delivery, server buffering, client buffering, or rendering.
Additional context
Please use the profile to compare stream/network arrival cadence with client state updates and rendered commits in the isolated web-content process. The investigation should distinguish transport chunking from client-side buffering or expensive Roleplay rendering.
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 4, 2026):
Implementation has started in draft PR #4553. Owner: @SpicyMarinara.
@SpicyMarinara commented on GitHub (Aug 4, 2026):
Delivered to staging via #4553 (merge commit
7708b7f0b2).