mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4951] [Issue]: Deleted lorebook remains in the active context #2749
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#2749
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 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4951
Originally assigned to: @SpicyMarinara on GitHub.
Summary
A lorebook deleted through the lorebook tab remains in the RP chat's active context. It appears as "Lorebook" with numbers appended and persists after regenerating a response.
Expected behavior
Deleting a lorebook should remove it from the active context, including after generating a new response.
Actual behavior
The deleted lorebook remains in the active context and is displayed as "Lorebook" with numbers appended, even after regenerating a response.
Steps to reproduce
Environment
db0c598Logs, screenshots, or video
Screenshot: https://cdn.discordapp.com/attachments/1537078514493169804/1537078514787024956/Screenshot_2026-08-12_193510.png?ex=6a7dbb6b&is=6a7c69eb&hm=8b8f4c66c08d5210c8969791e72f8c067c5f9a8b4aa5eaf73d3127673e3b08c6&
Additional context
Marinara indicated that the lorebook would remain until generating a new response, but the reporter regenerated a response and it still remained.
Discord thread: Deleted Lorebook stays in the context
Discord thread link: https://discord.com/channels/1417099416812392641/1537078514493169804
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 messages)
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 12, 2026):
SpicyMarinara is taking this in the current assigned-issue sweep. I’m preparing a draft PR against
stagingand will link it here before implementation continues.