[GH-ISSUE #4572] [Feature]: Add descriptive titles and message ranges to summaries in Roleplay #2493

Closed
opened 2026-10-21 05:48:55 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @olegpro171 on GitHub (Aug 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4572

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

In Roleplay mode, generated summary entries lack information about the entry contains.

Backfilled entries are titled "Summary messages -" and show "Messages - · ~X tokens" underneath, duplicating the range.

Automatic entries are titled "Automated summary" and show only "Agent · ~X tokens", so their message ranges are not visible.

At best, the list shows only a range.
With automatic summaries, every entry looks identical.
Users must open and read each summary to distinguish it, making summaries difficult to manage and combine in long-running roleplay sessions.

Proposed solution

  • Ask the summarization LLM to return a short, one-line title with the summary.
  • Store it in the existing summary entry title field.
  • Show the covered message range in the metadata line: Messages 21–40 · ~350 tokens.
  • Show ranges for automatic, manual, and backfilled summaries.
  • Keep generic titles as fallbacks when a model or custom prompt does not return a valid title.
  • Preserve compatibility with plain-text responses and the existing { "summary": "..." } format.
  • Preserve the sparkle icon on automatic summaries.

Additional context

  • OS: macOS 26.5
  • Install method: installer script
  • ME version: Staging 4efeafe7df9442de252a00d18d98ae1a35d96645

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 @olegpro171 on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4572 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? In Roleplay mode, generated summary entries lack information about the entry contains. Backfilled entries are titled "Summary messages <start index>-<end index>" and show "Messages <start index>-<end index> · ~X tokens" underneath, duplicating the range. Automatic entries are titled "Automated summary" and show only "Agent · ~X tokens", so their message ranges are not visible. At best, the list shows only a range. With automatic summaries, every entry looks identical. Users must open and read each summary to distinguish it, making summaries difficult to manage and combine in long-running roleplay sessions. ## Proposed solution - Ask the summarization LLM to return a short, one-line title with the summary. - Store it in the existing summary entry `title` field. - Show the covered message range in the metadata line: `Messages 21–40 · ~350 tokens`. - Show ranges for automatic, manual, and backfilled summaries. - Keep generic titles as fallbacks when a model or custom prompt does not return a valid title. - Preserve compatibility with plain-text responses and the existing `{ "summary": "..." }` format. - Preserve the sparkle icon on automatic summaries. ## Additional context - OS: macOS 26.5 - Install method: installer script - ME version: Staging `4efeafe7df9442de252a00d18d98ae1a35d96645` ## 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.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Where's the PR at? 🤨

<!-- gh-comment-id:5181368128 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Where's the PR at? 🤨
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Claimed by @SpicyMarinara for implementation in draft PR #4577 (Codex-assisted).

<!-- gh-comment-id:5181443772 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Claimed by @SpicyMarinara for implementation in draft PR #4577 (Codex-assisted).
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Delivered to staging in #4577 (merge commit d8b75eef85784c1188b750a824d25514d41ce109).

<!-- gh-comment-id:5181856421 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Delivered to `staging` in #4577 (merge commit `d8b75eef85784c1188b750a824d25514d41ce109`).
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#2493
No description provided.