Files
ethanfel-ComfyUI-LoRA-Optim…/tests
EthanfelandClaude Opus 4.6 db1591a693 feat: embed metadata in saved LoRAs and tuner files
- SaveMergedLoRA now writes safetensors metadata (source LoRAs, merge
  settings, architecture) plus optional user prompt/description
- SaveTunerData accepts optional prompt/description, embeds in JSON
- LoadTunerData outputs prompt, description, and metadata_info strings
- AutoTuner records source_loras in tuner_data for provenance
- New LoRAMetadataReader passthrough node extracts metadata from any
  safetensors LoRA in a stack (prompt, description, merge info)
- LoRAStack attaches file metadata at load time; _normalize_stack
  preserves it through both tuple and dict paths
- Graceful degradation: missing metadata produces empty strings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 00:11:58 +01:00
..