[GH-ISSUE #4181] [Issue]: Roleplay streaming typewriter reveals provider chunks unevenly #2264

Closed
opened 2026-10-21 05:46:47 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4181

Originally assigned to: @SpicyMarinara on GitHub.

Summary

With streaming enabled, Roleplay mode typewriter pacing follows irregular provider token delivery too closely, so text appears in noticeable chunks instead of one continuous reveal.

Expected behavior

Roleplay streaming should use a smooth, unified reveal cadence controlled by the Streaming Speed setting. Marinara may buffer incoming text briefly and reveal it more slowly than the provider delivers it to preserve a continuous reading effect.

Actual behavior

Incoming provider bursts can drain directly into the visible message, creating uneven pauses and chunks. The reveal can also accelerate abruptly when the stream completes.

Steps to reproduce

  1. Enable streaming and open a Roleplay chat.
  2. Generate a response from a provider that emits uneven token chunks.
  3. Observe the visible response cadence while it streams and when generation completes.

Environment

  • Marinara Engine version: 2.3.5
  • Install type: source
  • OS + version: macOS
  • Browser or app shell: Firefox

Logs, screenshots, or video

No error logs; this is a pacing and animation consistency issue.

Additional context

The reveal should remain affected by the existing Streaming Speed setting, including preserving speed 100 as instant display.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4181 Originally assigned to: @SpicyMarinara on GitHub. ## Summary With streaming enabled, Roleplay mode typewriter pacing follows irregular provider token delivery too closely, so text appears in noticeable chunks instead of one continuous reveal. ## Expected behavior Roleplay streaming should use a smooth, unified reveal cadence controlled by the Streaming Speed setting. Marinara may buffer incoming text briefly and reveal it more slowly than the provider delivers it to preserve a continuous reading effect. ## Actual behavior Incoming provider bursts can drain directly into the visible message, creating uneven pauses and chunks. The reveal can also accelerate abruptly when the stream completes. ## Steps to reproduce 1. Enable streaming and open a Roleplay chat. 2. Generate a response from a provider that emits uneven token chunks. 3. Observe the visible response cadence while it streams and when generation completes. ## Environment - Marinara Engine version: 2.3.5 - Install type: source - OS + version: macOS - Browser or app shell: Firefox ## Logs, screenshots, or video No error logs; this is a pacing and animation consistency issue. ## Additional context The reveal should remain affected by the existing Streaming Speed setting, including preserving speed 100 as instant display. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:46:47 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 27, 2026):

Implemented and merged into staging via #4182.

<!-- gh-comment-id:5093876734 --> @SpicyMarinara commented on GitHub (Jul 27, 2026): Implemented and merged into staging via #4182.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2264
No description provided.