mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8246] [Issue]: [illustrate:] commands ignore the Illustrator's lorebook, summary and author-notes context sources #8175
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#8175
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 @ylli-selmani on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8246
Originally assigned to: @ylli-selmani on GitHub.
Summary
Roleplay
[illustrate: ...]commands and the Gallery's manual Illustration button write their image prompt without the activated lorebook entries, the chat summary, or the author's notes. They skip these even when the Illustrator agent's Context Sources have them switched on. Automatic Illustrator runs do include them.Expected behavior
An
[illustrate: ...]command needs the Illustrator agent in the chat and uses its prompt and style, so it should also follow that agent's Context Sources. With "Activated lorebook entries", "Chat summary" and "Author notes" on, the prompt writer should see the same lorebook, summary and notes blocks an automatic Illustrator run gets.Actual behavior
The command doesn't go through the normal agent prompt builder.
generate.routes.tssendsillustratetowriteManualIllustratorPromptPlan, whosebuildManualIllustratorPromptMessagesbuilds its own system prompt. That prompt only holds the selected template, the style and caption rules, character and persona cards, tracker state and recent chat. The context it receives already carriesactivatedLorebookEntries,chatSummaryandauthorNotes, but none of them are read.As a result, lore-dependent details (places, outfits, factions, items described only in lorebook entries) are missing from illustrations the narrator asks for. The prompt-writer call's input token count stays low even in a lorebook-heavy chat.
Steps to reproduce
[illustrate: ...]command (or press the Gallery's Illustration button).[debug/illustrator/manual-illustration-prompt] messages: there is no<activated_lorebook_context>,<chat_summary>or<author_notes>block. An automatic Illustrator run on the same turn has them.Environment
stagingatfedb93770)Logs, screenshots, or video
Provider usage for the two kinds of call shows the prompt writer's input staying low in a chat with active lorebook entries.
Additional context
buildAgentExtrasinto one shared helper. Normal agents and the manual Illustrator prompt writer then render them the same way, gated by the Illustrator's own Context Sources. Recalled memories stay out: for the built-in Illustrator that source needs the Vectors ability, which it doesn't have.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: