Commit Graph

4 Commits

Author SHA1 Message Date
Z User
d3ce6866a4 fix: move LoRA cache off the node class for ComfyUI locked classes
Newer ComfyUI builds lock registered v3 node classes after registration
(comfy_api internal __setattr__ guard), so _apply_lora writing
cls._loaded_lora raised: Cannot modify class attribute '_loaded_lora'
on locked class 'MoxieMultimediaLoaderClone'.

The (path, sd, metadata) cache now lives at module level, which the
locking mechanism does not touch. Test monkeypatch updated to match.
2026-09-26 22:34:21 +00:00
Z User
e2ae630ec2 feat: lock Moxie loader to MiniMax H3 and drop model_loader bundle
The Moxie model set is MiniMax H3-only, so no other model choices are
exposed in the editor:

- Moxie Multimedia Loader: removed the clip_type dropdown (which listed
  every CLIPType recipe in ComfyUI). The H3 Qwen3-VL text encoder is now
  always loaded with CLIPType.MINIMAX; older ComfyUI builds raise a
  clear error instead of silently loading the wrong encoder.
- Moxie Multimedia Loader: outputs are now exactly model, clip,
  video_vae, audio_vae - the legacy FAST_MODEL_LOADER (model_loader)
  bundle output is removed. The model output keeps the attention
  backend and LoRA applied.
- Moxie MultiTrack Project: takes model, clip, video_vae and audio_vae
  as required direct inputs instead of a bundled model_loader; the
  fallback plumbing is removed while EasyMultiTrackProject keeps its
  model_loader input for non-Moxie workflows.
- Moxie Preview Override: dropped the model_loader pass-through slots
  and patches the model input directly.
- Moxie-consolidated.json reference workflow updated to the new slots.
- Added tests/test_moxie_nodes.py covering the schema contracts, the
  attention -> LoRA -> output chain, the MINIMAX lock and the project
  loader synthesis.
2026-09-26 19:06:50 +00:00
Z User
bec001f6f7 test: skip zh localization tests when locales bundle is absent
The upstream locales/zh/nodeDefs.json is not part of this repository,
so every test reading it failed at runtime. Guard all 16 call sites
with pytest.skip and add a tests/conftest.py that stubs folder_paths
so collection works outside a full ComfyUI installation.
2026-09-26 19:06:41 +00:00
4ea8431cd0 init
Some checks are pending
Publish to Comfy registry / Publish Custom Node to registry (push) Waiting to run
2026-09-26 11:11:23 -07:00