Let MOSS use the same LoRA picker and chain those adapters onto its graph.

The picker was hidden and the API cleared every stack, so a selected MOSS job could not carry a LoRA.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-22 20:28:25 -05:00
co-authored by Cursor
parent 354f475866
commit 8602d6ed2e
11 changed files with 38 additions and 28 deletions
+1 -2
View File
@@ -440,7 +440,6 @@ function linkRef(value: unknown): [string, number] | null {
}
export function assertImageV2LoraStack(stack: unknown, engine: 'flux' | 'krea' | 'moss') {
if (engine === 'moss') return []
const items = normalizeLoraStack(stack)
const wrong = items.find((item) => {
const tagged = imageLoraEngineOf(item.name)
@@ -482,7 +481,7 @@ function clipConsumers(graph: WorkflowGraph) {
export function applyImageV2UserLoras(
graph: WorkflowGraph,
stack?: unknown,
engine: 'flux' | 'krea' = 'flux'
engine: 'flux' | 'krea' | 'moss' = 'flux'
) {
stripExistingLoraLoaders(graph)