mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4843] [Issue]: Memory Recall fails after changing embedding dimensions #2677
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#2677
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 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4843
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Memory chunks are repeatedly skipped after changing from a 384-dimension embedding model to a 768-dimension model. Rebuilding memories does not resolve the mismatch, leaving Memory Recall effectively disabled.
Expected behavior
Rebuilding memories should re-vectorize existing memory chunks with the current embedding model so Memory Recall can continue working.
Actual behavior
The console repeatedly reports that memory chunk insertion is skipped because the embedding dimension changed from 384 to 768. The error persists after using Rebuild Memories.
Steps to reproduce
Environment
fc58ee4, Staging branchLogs, screenshots, or video
Console log: "Skipping memory chunk insert for chat y0hbHxrR2epzzyoTqo6ID because embedding dimension changed from 384 to 768. Rebuild memories before mixing embedding models." Attached screenshot: https://cdn.discordapp.com/attachments/1536183121387593869/1536183121706221578/image.png?ex=6a7a7985&is=6a792805&hm=1581913d6815887ec36fc4a26a0d477a467377e6e8e8c0d14c85f3be26ca1fb6&
Additional context
The embedding model was changed some time ago. The user requests a "Re-Vectorize All" function for Memory Recall similar to the existing Lorebooks function, or guidance for clearing the stale embedding data.
Discord thread: FR - Re-Vectorize Memory Chunks - Like in Lorebooks
Discord thread link: https://discord.com/channels/1417099416812392641/1536183121387593869
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (1 message)
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 10, 2026):
@SpicyMarinara is implementing this in draft PR #4847.