mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7595] [MERGED] fix(memory): align the budget fields and clarify Advanced Memory help #7823
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#7823
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/7595
Author: @SpicyMarinara
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/advanced-memory-settings-copy📝 Commits (2)
93ecd12fix(memory): align the budget fields and clarify Advanced Memory help5981338fix(memory): say constant summaries are written by the Helper model📊 Changes
4 files changed (+67 additions, -13 deletions)
View changed files
📝
docs/agents/memory.md(+3 -3)📝
e2e/advanced-memory.e2e.ts(+40 -0)📝
packages/client/src/components/chat/AdvancedMemorySettings.tsx(+20 -7)📝
packages/client/src/localization/locales/en.json(+4 -3)📄 Description
Linked issue
No linked issue: requested by the maintainer on 2026-10-14.
Why this change
What changed
docs/agents/memory.mddescribes the cutoff, the recommended budget (at least 10%) and what an excerpt is, matching the new help.Wording vs. code, for the maintainer to decide (the wording was kept exactly as requested):
connection()inpackages/server/src/services/advanced-memory.tsswaps inhelperConnectionId). The Chat Summary model is only used for Generate and Combine in that section. She chose to change the sentence, so it now reads "Constant summaries are also written by the Helper model.", which also matchesdocs/agents/memory.md.summaryBudgetTokens * 0.7,MEMORY_BUDGET_TOLERANCE = 2000). The 70% is the size at which constants are compressed after the reply. A single request can briefly go over it while that runs. Both excerpt values accept 0, and 0/0 adds no excerpts.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run by the agent:
pnpm check: exit 0. The one lint warning is inHomeProfessorMariChat.tsx, a file this PR doesn't touch.pnpm localization:check: passed (13,975 English keys, UI audit clean).Advanced Memory lines up side-by-side fields and explains message excerpts: passes on desktop-chromium, mobile-chromium and mobile-webkit. Without the fix it fails on desktop: first the excerpt help is missing; with only the layout reverted, the budget box is 17px above the context box.e2e/advanced-memory.e2e.ts+e2e/advanced-memory-wizard.e2e.tson desktop-chromium: 20 of 21 pass.Advanced Memory stays in Chat Settings with confirmed knowledge…fails without this PR too: it expectsprofessor-mari-memory-wheel-v2.png, butadvanced-memory.css, which this PR doesn't touch, has loaded the.webpsince the WebP change on 2026-10-02. With that one expectation relaxed locally and not committed, the whole test passes with this change.coderabbit review --agent --committed): 3 findings. Two asked to rewritememoryAllocationHelpin shorter wording. Rejected, because the maintainer supplied that text word for word. One asked for thedocs-i18nfollow-up, which is now opened (see below).Manual verification notes
Docs and release impact
No docs changes needed
Updated docs (README / CONTRIBUTING / android/README) as needed
Translated docs on the
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Version/release files updated (only if this PR includes a version bump)
Updated
docs/agents/memory.md(Advanced Memory Recall → Setup). Translation follow-up: #7596.UI locales: only English changed, as the localization guide asks. On
docs-i18n,ui/ko.jsonstill has the older Korean text forbudgetHelp,memoryAllocationHelpandsummaryGenerationHelp. It shows until a translator updates it. No other pack translates these keys, so they fall back to the new English.UI evidence (if applicable)
Before/after screenshots exist locally and weren't uploaded: Chat Settings at 1440px and 390px, and the setup wizard at 1440px.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.