mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3948] [MERGED] Move Roleplay background generation to Illustrator #6172
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#6172
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/3948
Author: @SpicyMarinara
Created: 7/22/2026
Status: ✅ Merged
Merged: 7/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/remove-background-agent-image-generation📝 Commits (1)
e8ec157Remove Background agent image generation📊 Changes
12 files changed (+69 additions, -313 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/agents/built-in-agents.md(+2 -2)📝
docs/media/scene-backgrounds.md(+2 -2)📝
docs/roleplay/backgrounds.md(+2 -2)📝
packages/client/src/components/agents/AgentEditor.tsx(+6 -74)📝
packages/client/src/components/chat/ChatArea.tsx(+1 -0)📝
packages/server/src/routes/backgrounds.routes.ts(+4 -9)📝
packages/server/src/routes/generate.routes.ts(+0 -184)📝
packages/server/src/routes/generate/retry-agents-route.ts(+17 -4)📝
packages/server/src/services/agents/agent-executor.ts(+0 -35)📝
packages/server/src/services/professor-mari/official-agent-knowledge.ts(+1 -1)📝
scripts/regressions/prompt.regression.ts(+33 -0)📄 Description
Why
The Background agent still exposed an older image-generation path that overlaps with Illustrator's newer scene-background generation. The two paths had different prompts, connections, and behavior, making ownership unclear.
Gallery → Background also invoked Illustrator as a normal illustration retry, so the result could be attached to the chat instead of becoming the active Roleplay background.
What changed
Impact
Background now has one responsibility: selecting an existing backdrop. Illustrator owns both automatic and manual background creation. Older installed Background packages can still select images safely; their obsolete generation payload is ignored by the Engine.
Companion change
1.0.2package.Validation
pnpm checkpnpm regression:promptManual verification
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.