From 06dfb20777199a572ac8bd3d66cb517607da72c4 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Thu, 11 Jun 2026 10:09:08 -0700 Subject: [PATCH 1/2] Make --enable-manager-legacy-ui imply --enable-manager The legacy manager UI flag previously had no effect unless --enable-manager was also passed, since the manager is only loaded when args.enable_manager is set. Treat --enable-manager-legacy-ui as implying --enable-manager so it works on its own. Amp-Thread-ID: https://ampcode.com/threads/T-019eb7a1-1b29-735f-a48b-9069dd2da843 Co-authored-by: Amp --- README.md | 2 +- comfy/cli_args.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ee1024de501..786a141669d 100644 --- a/README.md +++ b/README.md @@ -364,7 +364,7 @@ For models compatible with Iluvatar Extension for PyTorch. Here's a step-by-step | Flag | Description | |------|-------------| | `--enable-manager` | Enable ComfyUI-Manager | -| `--enable-manager-legacy-ui` | Use the legacy manager UI instead of the new UI (requires `--enable-manager`) | +| `--enable-manager-legacy-ui` | Use the legacy manager UI instead of the new UI (implies `--enable-manager`) | | `--disable-manager-ui` | Disable the manager UI and endpoints while keeping background features like security checks and scheduled installation completion (requires `--enable-manager`) | diff --git a/comfy/cli_args.py b/comfy/cli_args.py index cba0dfa3403..b596e51469a 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -258,6 +258,10 @@ def is_valid_directory(path: str) -> str: if args.force_fp16: args.fp16_unet = True +# '--enable-manager-legacy-ui' is meaningless unless the manager is enabled, so imply '--enable-manager'. +if args.enable_manager_legacy_ui: + args.enable_manager = True + # '--fast' is not provided, use an empty set if args.fast is None: From ebbedcbcc0f5482aa56a32176ae6671921e8534d Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Thu, 11 Jun 2026 10:11:16 -0700 Subject: [PATCH 2/2] Mention --enable-manager implication in legacy-ui help text Amp-Thread-ID: https://ampcode.com/threads/T-019eb7a1-1b29-735f-a48b-9069dd2da843 Co-authored-by: Amp --- comfy/cli_args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/cli_args.py b/comfy/cli_args.py index b596e51469a..22f621cf591 100644 --- a/comfy/cli_args.py +++ b/comfy/cli_args.py @@ -133,7 +133,7 @@ def from_string(cls, value: str): parser.add_argument("--enable-manager", action="store_true", help="Enable the ComfyUI-Manager feature.") manager_group = parser.add_mutually_exclusive_group() manager_group.add_argument("--disable-manager-ui", action="store_true", help="Disables only the ComfyUI-Manager UI and endpoints. Scheduled installations and similar background tasks will still operate.") -manager_group.add_argument("--enable-manager-legacy-ui", action="store_true", help="Enables the legacy UI of ComfyUI-Manager") +manager_group.add_argument("--enable-manager-legacy-ui", action="store_true", help="Enables the legacy UI of ComfyUI-Manager. Implies --enable-manager.") vram_group = parser.add_mutually_exclusive_group()