Commit Graph

13 Commits

Author SHA1 Message Date
cest-la-v
feee1c7a85 feat(extra-paths): introduce extra_paths.yaml with full path configuration
Replace the model-only extra_model_paths.yaml with a more generic
extra_paths.yaml that covers all ComfyUI path configuration in one file.

New schema (nested style):
  comfyui:
    base_path: /path/to/comfyui/    # install root
    output: output/                  # → set_output_directory()
    input: input/
    temp: temp/
    user: user/
    custom_nodes: custom_nodes/      # explicit only, never auto-scanned
    models:
      base_path: models/             # model root, relative to parent base_path
      is_default: true
      checkpoints: checkpoints/      # or omit all categories to auto-scan

Key changes:
- System directory keys (output/input/temp/user) call set_*_directory()
- models: sub-block separates model paths from install-root paths; base_path
  at block root = install root; models/base_path = model root
- custom_nodes never auto-registered by implicit scan (fixes CodeRabbit #13560)
- Flat style fully preserved for backward compat with extra_model_paths.yaml
- extra_paths.yaml loaded first; deprecation warning logged if both present
- extra_paths.yaml.example covers all 22 model categories with preset paths
- extra_model_paths.yaml.example gains a deprecation note
2026-04-26 14:54:10 +08:00
comfyanonymous
d68ece7301
Update the extra_model_paths.yaml.example (#10319) 2025-10-12 23:54:41 -04:00
Christian Byrne
894837de9a
update extra models paths example (#10316) 2025-10-12 23:35:33 -04:00
Alex "mcmonkey" Goodwin
68bb885d22
add 'is_default' to model paths config (#4979)
* add 'is_default' to model paths config

including impl and doc in example file

* update weirdly overspecific test expectations

* oh there's two

* sigh
2024-09-19 08:59:55 -04:00
comfyanonymous
9a7444e39f Add diffusion_models to the extra_model_paths.yaml.example 2024-09-10 00:21:33 -04:00
comfyanonymous
fee3b0c070 Move and comment out. 2023-10-12 20:54:43 -04:00
Nick Teeple
851a4bdb80
Update extra_model_paths.yaml.example with comfy specific example 2023-10-12 21:26:27 +08:00
Yaruze66
9ae6ff65bc
Update extra_model_paths.yaml.example: add RealESRGAN path 2023-07-02 22:59:55 +05:00
jjangga0214
530e408ab8
docs(extra model paths): add LyCORIS path 2023-06-25 20:11:28 +09:00
comfyanonymous
f1b87f50fa Add hypernetworks path config to extra_model_paths.yaml.example 2023-04-24 01:50:56 -04:00
comfyanonymous
2d546d510d Add gligen entry to extra_model_paths example. 2023-04-19 11:47:49 -04:00
comfyanonymous
74fc7b7726 custom_nodes paths can now be set in the extra_model_paths.yaml 2023-04-16 01:46:43 -04:00
comfyanonymous
51d6427ddf Add support for loading extra paths from yaml file.
Rename extra_model_paths.yaml.example to extra_model_paths.yaml and edit
it to point to your other UI.
2023-03-18 02:52:43 -04:00