mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #976] [MERGED] Fix lorebook semantic search opt-in #4868
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#4868
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/976
Author: @cha1latte
Created: 5/18/2026
Status: ✅ Merged
Merged: 5/18/2026
Merged by: @cha1latte
Base:
staging← Head:fix/issue-966-lorebook-embedding-none📝 Commits (1)
7af8d4fFix lorebook semantic search opt-in📊 Changes
3 files changed (+14 additions, -16 deletions)
View changed files
➕
docs/pr-evidence/issue-966-after.png(+0 -0)📝
packages/client/src/components/lorebooks/LorebookEditor.tsx(+10 -9)📝
packages/server/src/routes/generate.routes.ts(+4 -7)📄 Description
Linked issue
Closes #966
Why this change
What changed
No semantic searchoption to the lorebook editor and disabled manual vectorization until the user chooses an embedding connection.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
node scratch/issue-966-lorebook-auto-vectorization-proof.mjsnow reports nowarmLorebookEntryEmbeddingscall in the generation route, no any-active-entry embedding computation, and an existing-embedding gate for chat embeddings.C:\Users\celia\AppData\Local\Programs\Python\Python310\python.exe scratch\issue-966-ui-proof.pycreated a temporary fake embedding connection and lorebook, opened the real app, verifiedNo semantic searchis selected by default, verified the vectorize button is disabled until opt-in, then selected the fake embedding connection and verified the manualVectorize 1 missingaction becomes enabled.pnpm checkpassed locally after rerunning with a longer timeout.Docs and release impact
UI evidence (if applicable)
Before, from the issue report:
After, from Codex browser proof:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.