mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4864] [Issue]: Memory re-vectorization uses sidecar embeddings with Random Model Connection #2692
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#2692
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/4864
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When Memory Recall is re-vectorized while using the Random Model Connection, it appears to fall back to the local sidecar embedding instead of the embedding configured for models in the random pool. This prevents memories from being injected into prompts.
Expected behavior
Memory re-vectorization with the Random Model Connection should use the selected/configured embedding model, consistent with the models in the random pool.
Actual behavior
Re-vectorization appears to use the local sidecar embedding when Random Model Connection is selected. Memories are not injected afterward; selecting a specific model and running re-vectorization again restores memory injection.
Steps to reproduce
Environment
fc58ee4, Staging branchLogs, screenshots, or video
Earlier console error after changing embedding models: "Skipping memory chunk insert for chat y0hbHxrR2epzzyoTqo6ID because embedding dimension changed from 384 to 768. Rebuild memories before mixing embedding models." Initial screenshot: https://cdn.discordapp.com/attachments/1536183121387593869/1536183121706221578/image.png?ex=6a7b2245&is=6a79d0c5&hm=cd42ebead9b9e8d1da08419b804723b2498d7b2d30b06f82960a24b65f479512&. Random Model Connection screenshot: https://cdn.discordapp.com/attachments/1536183121387593869/1536366745596592260/image.png?ex=6a7b2488&is=6a79d308&hm=ee09c0fa15c6a5281c1102a1450a8c180e4b0f31833e050e77507585c9eb74ab&
Additional context
The newly added Memory Recall 'Re-Vectorize All' button works when a specific model is selected. A model picker similar to the Lorebook embedding picker, or a warning when Random Model Connection would use the sidecar embedding, may help. A maintainer confirmed that it should use the selected embedding.
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 (6 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: