mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4104] [Issue]: Custom agents do not trigger lorebook entries on agent calls #2220
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#2220
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 (Jul 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4104
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Custom agents in Marinara Engine v2.3.4 do not appear to trigger lorebook keyword/RAG entries from the agent call context. The user reports that built-in knowledge agents can use lorebooks, but the equivalent option or behavior is missing for custom agents.
Expected behavior
Custom agents should be able to trigger lorebook entries from the messages included in their agent-call context and inject the triggered content for prompt use. If this is controlled by a setting, the toggle or configuration should be visible in the custom agent UI.
Actual behavior
The user could not get any lorebook triggers to fire for a custom agent. They report that the option does not appear for custom agents, even though built-in knowledge agents can use lorebooks.
Steps to reproduce
Environment
Logs, screenshots, or video
No logs or attachments were provided. Relevant Discord evidence: user said "I haven't been able to have my custom agent get any lorebook triggers" and "the built-in knowledge agents can, but the option doesn't appear to me in custom one." A Marinara response stated: "Yeah, we need to add a toggle that allows lorebooks to trigger for the agent call itself."
Additional context
User goal: trigger lorebook retrieval based on agent-call context and let the custom agent format/transform/inject the retrieved content into chat. The user also requested separate lorebook assignment for the main chat and the custom agent, similar to the built-in knowledge router agent.
Discord thread: Lorebook/RAG use on custom agents
Discord thread link: https://discord.com/channels/1417099416812392641/1530675473871540425
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (11 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 (Jul 25, 2026):
Resolved by #4108 and merged into
stagingine95f5785cb.