mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5713] [Feature]: Generate Roleplay chat summaries from multiple ranges #3160
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#3160
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 @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: