[GH-ISSUE #931] [Feature]: Add selectable chat summary source ranges and editable prompt templates #454

Closed
opened 2026-10-20 17:29:02 +07:00 by bsakaguchi · 0 comments
Owner

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

What problem does this solve?

Chat summaries are currently difficult to control when a user only wants to summarize a specific part of a long conversation, preserve earlier context, or use a different summary style for a particular chat.
The summary flow also gives users limited help managing already-summarized messages, which can make long chats harder to keep tidy.

Proposed solution

Add richer manual chat summary controls so users can:

  • Generate summaries from either the last N messages or a specific message range.
  • Persist summary source preferences in the UI.
  • Create, duplicate, edit, select, and delete chat-scoped summary prompt templates.
  • Use the selected prompt template when generating a manual rolling summary.
  • Exclude messages hidden from AI from summary generation.
  • Optionally hide summarized messages after generation.
  • Optionally collapse hidden messages in chat surfaces.
  • Improve the summary popover display so structured summaries are easier to read.

Alternatives considered

  • Keep only the existing recent-message count control, but that does not help when the useful context is in the middle of a long conversation.
  • Add a global-only summary prompt setting, but chat-scoped templates better support different roleplay, game, and conversation styles.
  • Replace summaries instead of appending, but preserving the rolling-summary behavior keeps existing user expectations intact.

Additional context

This is implemented on branch feat/chat-summary-source-range.

The change touches the chat summary popover, chat message visibility controls, summary generation API payloads, chat metadata types, and persisted UI settings.

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 (May 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/931 ## What problem does this solve? Chat summaries are currently difficult to control when a user only wants to summarize a specific part of a long conversation, preserve earlier context, or use a different summary style for a particular chat. The summary flow also gives users limited help managing already-summarized messages, which can make long chats harder to keep tidy. ## Proposed solution Add richer manual chat summary controls so users can: - Generate summaries from either the last N messages or a specific message range. - Persist summary source preferences in the UI. - Create, duplicate, edit, select, and delete chat-scoped summary prompt templates. - Use the selected prompt template when generating a manual rolling summary. - Exclude messages hidden from AI from summary generation. - Optionally hide summarized messages after generation. - Optionally collapse hidden messages in chat surfaces. - Improve the summary popover display so structured summaries are easier to read. ## Alternatives considered - Keep only the existing recent-message count control, but that does not help when the useful context is in the middle of a long conversation. - Add a global-only summary prompt setting, but chat-scoped templates better support different roleplay, game, and conversation styles. - Replace summaries instead of appending, but preserving the rolling-summary behavior keeps existing user expectations intact. ## Additional context This is implemented on branch `feat/chat-summary-source-range`. The change touches the chat summary popover, chat message visibility controls, summary generation API payloads, chat metadata types, and persisted UI settings. ## 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.
bsakaguchi 2026-10-20 17:29:02 +07:00
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#454
No description provided.