Merge lora name+strength into single key to stay under 32 output limit

Combines separate lora name and strength keys into "name:strength" format,
removing 6 strength keys to free output slots for mode. Migration handles
legacy <lora:> wrapper, separate strength keys, and already-merged formats.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-18 23:58:32 +01:00
parent ecb5cdc13f
commit a9197efacd
4 changed files with 69 additions and 77 deletions
+3 -7
View File
@@ -626,13 +626,9 @@ def _render_preview_fields(item_data: dict):
with ui.row().classes('w-full q-gutter-md'):
for lora_idx in range(1, 4):
for tier, tier_label in [('high', 'High'), ('low', 'Low')]:
with ui.column():
ui.input(f'L{lora_idx} {tier_label} Name',
value=item_data.get(f'lora {lora_idx} {tier}', '')).props(
'readonly outlined dense')
ui.input(f'L{lora_idx} {tier_label} Str',
value=str(item_data.get(f'lora {lora_idx} {tier} strength', 1.0))).props(
'readonly outlined dense')
ui.input(f'L{lora_idx} {tier_label}',
value=item_data.get(f'lora {lora_idx} {tier}', '')).props(
'readonly outlined dense')
vace_keys = ['frame_to_skip', 'vace schedule', 'video file path']
if any(k in item_data for k in vace_keys):