mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6350] [Issue]: Add SwarmUI save toggle and pass native LoRAs and reference images #3547
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#3547
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 (Sep 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6350
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Native SwarmUI generation hardcodes image saving off and does not pass LoRA or reference-image parameters when no custom Comfy workflow is configured. Add a configurable save toggle, defaulting to off, and support native SwarmUI LoRA and reference-image parameters.
Expected behavior
Generated images should remain unsaved by default unless the user enables a save-to-SwarmUI-backend toggle. When using native SwarmUI generation without a custom workflow, configured LoRAs and reference images should also be passed to SwarmUI and affect the generated output.
Actual behavior
Generated images are not saved to SwarmUI History because the request hardcodes
donotsave: true. Without a custom Comfy workflow, the request returns after setting basic parameters and does not include configured LoRAs or reference images; generated avatar and selfie outputs consequently lacked the expected LoRA and reference-image effects.Steps to reproduce
cc783dd) with a SwarmUI connection.Environment
cc783ddLogs, screenshots, or video
No logs provided. Discord attachments include screenshots showing generated images missing from SwarmUI History when
donotsaveis true, images appearing after changing it to false, and outputs missing LoRA/reference-image effects.Additional context
The reported code path is
packages/server/src/services/image/image-generation.ts, inbuildSwarmUiGenerationBody. It setsdonotsave: trueand returns early whenrequest.comfyWorkflowis empty, before adding LoRA or reference-image parameters. The reporter tested an unverified local diff that setdonotsave: falseand added nativeloras,loraweights,promptimages, andextra_metadata.promptimages_filename; this produced outputs with the expected character effects, but the diff was minimally tested and should be independently validated.Discord thread: images (SwarmUI): Toggle backend saving of images in SwarmUI
Discord thread link: https://discord.com/channels/1417099416812392641/1550522515942678558
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (27 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 (Sep 19, 2026):
Owner: @SpicyMarinara, assisted by Codex. Taking this report in the issue sweep tracked by draft PR #6359. I will trace the affected path, keep the fix small, and record the relevant regression proof before merging to staging.
@SpicyMarinara commented on GitHub (Sep 19, 2026):
Merged to staging in #6359. Native SwarmUI requests now carry configured LoRAs, weights, and reference images. Save images in SwarmUI is an opt-in connection setting and survives reload. Wire-format and browser persistence proofs pass; the GPU-backed backend remains a manual verification item.