mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6744] [MERGED] feat(memory): make semantic summary recall configurable per chat #7306
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#7306
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6744
Author: @SirAdoni
Created: 9/27/2026
Status: ✅ Merged
Merged: 9/27/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/issue-6705📝 Commits (5)
8a9e104feat(memory): configure semantic summary recall and cache vectors (#6705)2836938fix(memory): place recall controls beneath existing switches7b8b28bMerge remote-tracking branch 'origin/staging' into codex/merge-674423320fctest(memory): clean up semantic recall chats when setup fails90372e4Merge remote-tracking branch 'origin/staging' into codex/merge-6744📊 Changes
20 files changed (+807 additions, -22 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)➕
e2e/semantic-recall-controls.e2e.ts(+180 -0)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+20 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+20 -0)➕
packages/client/src/components/chat/SemanticSummaryRetrievalControls.tsx(+81 -0)📝
packages/client/src/components/chat/SummaryPopover.tsx(+22 -0)📝
packages/client/src/localization/locales/en.json(+6 -1)📝
packages/server/src/routes/chats.routes.ts(+12 -0)📝
packages/server/src/routes/generate/conversation-history-runtime.ts(+34 -10)📝
packages/server/src/services/generation/roleplay-summary-retrieval.ts(+21 -10)➕
packages/server/src/services/generation/summary-document-embeddings.ts(+75 -0)📝
packages/server/src/services/memory-recall-embedding.ts(+34 -1)📝
packages/server/src/services/memory-recall.ts(+2 -0)📝
packages/shared/src/index.ts(+1 -0)📝
packages/shared/src/types/chat.ts(+3 -0)➕
packages/shared/src/types/semantic-summary-retrieval.ts(+17 -0)📝
scripts/regressions/prompt.regression.ts(+27 -0)📝
scripts/regressions/regeneration-context.regression.ts(+49 -0)➕
scripts/regressions/semantic-summary-cancellation.regression.ts(+46 -0)➕
scripts/regressions/semantic-summary-settings.regression.ts(+155 -0)📄 Description
Linked issue
Closes #6705
Why this change
Semantic summary retrieval already exists, but its fixed recent-summary count, older-match count, and relevance threshold cannot be tuned for an individual Roleplay chat. This extends the existing retrieval path and settings drawer rather than replacing either system.
What changed
Validation
Maintainer integration validation on
90372e47a(base3af58b06b):pnpm checkandpnpm regression:promptpassed.pnpm smoke:ui: 7/7 passed.Human verification checklist:
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Manually verify enable/disable and saved values after reload, recent-only selection with zero older matches, provider-unavailable fallback, and cancellation followed by a successful retry. Confirm both themes and a mobile viewport. Automated browser evidence is described above; no human verification is claimed.
Docs and release impact
Unreleased changelog updated. No version bump or changes under
docs/.UI evidence (if applicable)
Before/after screenshots in dark and light themes, desktop Chromium and iPhone-sized WebKit. Download the self-contained HTML gallery from the gist to view its embedded original PNG captures. All screenshots use disposable synthetic data; browser emulation is not a physical-device test.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.