refactor(nodes): standardize node class names with LM suffix

Rename all node classes to use consistent 'LM' suffix pattern:
- LoraCyclerNode → LoraCyclerLM
- LoraManagerLoader → LoraLoaderLM
- LoraManagerTextLoader → LoraTextLoaderLM
- LoraStacker → LoraStackerLM
- LoraRandomizerNode → LoraRandomizerLM
- LoraPoolNode → LoraPoolLM
- WanVideoLoraSelectFromText → WanVideoLoraTextSelectLM
- DebugMetadata → DebugMetadataLM
- TriggerWordToggle → TriggerWordToggleLM
- PromptLoraManager → PromptLM

Updated:
- Core node class definitions (9 files)
- NODE_CLASS_MAPPINGS in __init__.py
- Node type mappings in node_extractors.py
- All related test imports and references
- Logger prefixes for consistency

Frontend extension names remain unchanged (LoraManager.LoraStacker, etc.)
This commit is contained in:
Will Miao
2026-01-25 10:38:10 +08:00
parent b71b3f99dc
commit 41101ad5c6
14 changed files with 74 additions and 74 deletions

View File

@@ -1,17 +1,17 @@
"""Tests for LoraRandomizerNode roll_mode functionality"""
"""Tests for LoraRandomizerLM roll_mode functionality"""
from unittest.mock import AsyncMock
import pytest
from py.nodes.lora_randomizer import LoraRandomizerNode
from py.nodes.lora_randomizer import LoraRandomizerLM
from py.services import service_registry
@pytest.fixture
def randomizer_node():
"""Create a LoraRandomizerNode instance for testing"""
return LoraRandomizerNode()
"""Create a LoraRandomizerLM instance for testing"""
return LoraRandomizerLM()
@pytest.fixture