[GH-ISSUE #5713] [Feature]: Generate Roleplay chat summaries from multiple ranges #3160

Closed
opened 2026-10-21 06:00:07 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Promansis on GitHub (Sep 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5713

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

Roleplay Chat Summary range mode can generate only one explicit message range at a time. Summarizing several parts of a long chat requires repeatedly editing the same controls, waiting for each request, and manually tracking which ranges succeeded.

Proposed solution

Allow Range mode to hold multiple inclusive message ranges and generate one ordinary summary entry per range. Process valid ranges sequentially in chronological order, show per-range progress and failures, allow cancellation and retry, warn without blocking on overlaps, and preserve existing summary-entry ordering while appending the generated summaries as a chronological block.

Keep the queue local to the open popover and reuse the existing summary endpoint, provider routing, persistence, localization, and reorder behavior.

Alternatives considered

A durable server-side batch job or parallel provider requests would add persistence, orchestration, and recovery complexity that is not needed for this interaction. Repeated single-range generation remains possible but does not solve the tracking and retry burden.

Additional context

The implementation should retain the existing 500-message limit per range, continue after individual failures, abort the active provider call when canceled or closed, and avoid persisting canceled work.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Sep 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5713 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? Roleplay Chat Summary range mode can generate only one explicit message range at a time. Summarizing several parts of a long chat requires repeatedly editing the same controls, waiting for each request, and manually tracking which ranges succeeded. ## Proposed solution Allow Range mode to hold multiple inclusive message ranges and generate one ordinary summary entry per range. Process valid ranges sequentially in chronological order, show per-range progress and failures, allow cancellation and retry, warn without blocking on overlaps, and preserve existing summary-entry ordering while appending the generated summaries as a chronological block. Keep the queue local to the open popover and reuse the existing summary endpoint, provider routing, persistence, localization, and reorder behavior. ## Alternatives considered A durable server-side batch job or parallel provider requests would add persistence, orchestration, and recovery complexity that is not needed for this interaction. Repeated single-range generation remains possible but does not solve the tracking and retry burden. ## Additional context The implementation should retain the existing 500-message limit per range, continue after individual failures, abort the active provider call when canceled or closed, and avoid persisting canceled work. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
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#3160
No description provided.