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:
+3
-4
@@ -799,10 +799,9 @@
|
||||
SNOFS
|
||||
</label>
|
||||
<LoraSelect
|
||||
v-if="v2Engine !== 'moss'"
|
||||
v-model="imageV2LoraStack"
|
||||
:names="imageV2LoraOptions"
|
||||
:engine="v2Engine === 'krea' ? 'krea' : 'flux'"
|
||||
:engine="v2Engine"
|
||||
:triggers="loraTriggers"
|
||||
:aliases="loraAliases"
|
||||
label="LoRA"
|
||||
@@ -813,7 +812,7 @@
|
||||
@update-trigger="saveLoraTrigger"
|
||||
/>
|
||||
<p v-if="v2Engine === 'krea'" class="mt-1 text-[11px] text-zinc-500">Krea only lists krea LoRAs. Flux files stay on the Flux engine.</p>
|
||||
<p v-else-if="v2Engine === 'moss'" class="text-[11px] text-zinc-500">MOSS SFT does not load Klein or Krea LoRAs. The prompt upsampler stays off.</p>
|
||||
<p v-else-if="v2Engine === 'moss'" class="text-[11px] text-zinc-500">MOSS lists moss LoRAs. Klein and Krea files stay on those engines. The prompt upsampler stays off.</p>
|
||||
</div>
|
||||
<div>
|
||||
<AspectRatioPick :model-value="aspect" heading="Aspect ratio" :options="imageAspects" @update:model-value="setImageAspect" />
|
||||
@@ -7490,7 +7489,7 @@ async function editImageV2() {
|
||||
const tagged = imageLoraEngineOf(item.name)
|
||||
return tagged != null && tagged !== v2Engine.value
|
||||
})
|
||||
if (v2Engine.value !== 'moss' && wrongEngine) {
|
||||
if (wrongEngine) {
|
||||
toast(imageLoraEngineMismatchMessage(wrongEngine.name, v2Engine.value))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user