mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5240] [Issue]: Add semantic retrieval (RAG) support for automatic summaries #2902
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#2902
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 @SpicyMarinara on GitHub (Aug 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5240
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Add an optional RAG or semantic-retrieval mode for automatic summaries. Older summaries should be stored and retrieved when relevant, while recent summaries remain in the active prompt context.
Expected behavior
Users should be able to enable semantic retrieval for automatic summaries so relevant older summaries are included as needed without keeping the entire accumulated summary history in the prompt context.
Actual behavior
Automatic summaries currently keep accumulated summaries in the prompt context, which can cause the summary context to grow substantially during very long-running chats even when older summaries are condensed.
Steps to reproduce
Environment
Logs, screenshots, or video
Not provided in the Discord context.
Additional context
The request is motivated by roleplay use cases, where summaries preserve gradual relationship development and emotional context better than isolated message retrieval. The user has experimented with a modified Lorebook Keeper combined with semantic search as a summary-RAG substitute. Marinara indicated that a semantic toggle and support for summaries could be added.
Discord thread: FR - RAG for Automatic Summaries
Discord thread link: https://discord.com/channels/1417099416812392641/1539453563644682330
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 19, 2026):
Ownership: @SpicyMarinara is handling this in the combined assigned-issue sweep covering #5235, #5237, #5238, #5239, and #5240. A draft PR against
stagingwill be linked before implementation proceeds.@SpicyMarinara commented on GitHub (Aug 19, 2026):
Implementation is now tracked in draft PR #5244 against
staging.@SpicyMarinara commented on GitHub (Aug 19, 2026):
SpicyMarinara is taking the Roleplay follow-up. PR #5244 added semantic retrieval to Conversation summaries, but the reported request is Roleplay-focused and the existing Chat Summaries popover still lacks the control. Reopening this issue until the Roleplay UI and prompt path are implemented and verified on desktop and mobile.