Publish current ComfyUI O1Key code baseline

Replace the prior release tree with the current plugin, frontend, tests, and documentation. Document retired node IDs and the public Gitea update source.
This commit is contained in:
Jony
2026-09-24 19:56:48 +08:00
parent 3e337722ab
commit ba920f2b66
183 changed files with 49496 additions and 9934 deletions
+24
View File
@@ -0,0 +1,24 @@
"""Disable ComfyUI Partner/API nodes when the launch command did not do so."""
import sys
DISABLE_API_NODES_FLAG = "--disable-api-nodes"
def _has_disable_api_nodes_flag(argv):
return any(
argument == DISABLE_API_NODES_FLAG
or argument.startswith(f"{DISABLE_API_NODES_FLAG}=")
for argument in argv[1:]
)
if _has_disable_api_nodes_flag(sys.argv):
print("[comfyui_o1key] --disable-api-nodes already set; prestartup override skipped")
else:
from comfy.cli_args import args
args.disable_api_nodes = True
sys.argv.append(DISABLE_API_NODES_FLAG)
print("[comfyui_o1key] Partner/API Nodes disabled by prestartup override")