Files
ethanfel-ComfyUI-LoRA-Optim…/js
EthanfelandClaude Opus 4.8 c7b2be5043 feat(ui): auto-strength floor switch + corrected tooltips
The auto_strength_floor widget mixed a -1 'auto' sentinel into its numeric
range and the tooltip was wrong (said 'for orthogonal LoRAs', but explicit
floors apply to every stack since 1.10.2; nothing explained negatives/>1.0).

- LoRAMergeSettings: split the -1 sentinel into an 'auto_strength_floor_mode'
  (auto/manual) switch, appended at the END of the widgets so no existing
  widget shifts position. The slider is now a clean [0,1] manual floor (default
  0.85). build_settings resolves mode -> the same downstream value the old
  float produced (auto -> -1, manual -> clamped slider), so cache keys /
  numerics / community cache are UNCHANGED (no algo bump).
- js/lora_merge_settings.js: configure() migration appends the mode value for
  old 7-widget workflows BEFORE positional restore — an explicit floor (>=0)
  becomes 'manual' (preserved), -1 becomes 'auto'. No scramble, no silent loss.
- Corrected the tooltip on all four nodes (it's a floor on a uniform down-scale
  multiplier; never scales up/flips signs; covers negatives by magnitude and
  >1.0 strengths).

+1 resolution test; 278 pass. Registry 1.7.10.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 23:17:09 +02:00
..