File tree Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Expand file tree Collapse file tree 3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ # ComfyUI Error Fixer Plugin
2+
3+ 自动捕获ComfyUI工作流错误并提供修复建议的插件。
4+
5+ ## 安装方法
6+
7+ 1 . 将此项目下载到 ` ComfyUI/custom_nodes/ ` 目录下
8+ 2 . 重启 ComfyUI
9+ 3 . 插件会自动加载并开始工作
10+
11+ ## 功能特点
12+
13+ - 🔍 自动捕获工作流运行错误
14+ - 🔧 在错误节点上显示修复按钮
15+ - 📋 错误对话框中自动添加解决方案按钮
16+ - 🌐 一键跳转到解决方案网站
17+ - 🔄 完全非侵入式设计
18+
19+ ## 使用方法
20+
21+ 1 . 运行工作流时如果出现错误,插件会自动捕获
22+ 2 . 点击错误对话框中的"Error Fixer Online"按钮
23+ 3 . 或点击节点右上角的🔧图标
24+ 4 . 自动跳转到解决方案网站
Original file line number Diff line number Diff line change 1+ from .nodes import NODE_CLASS_MAPPINGS , NODE_DISPLAY_NAME_MAPPINGS
2+
3+ WEB_DIRECTORY = "./web"
4+
5+ __all__ = ["NODE_CLASS_MAPPINGS" , "NODE_DISPLAY_NAME_MAPPINGS" , "WEB_DIRECTORY" ]
Original file line number Diff line number Diff line change 1+ class ErrorFixerNode :
2+ """
3+ 错误修复助手节点
4+ """
5+
6+ @classmethod
7+ def INPUT_TYPES (cls ):
8+ return {
9+ "required" : {},
10+ "optional" : {},
11+ "hidden" : {}
12+ }
13+
14+ RETURN_TYPES = ()
15+ FUNCTION = "process"
16+ OUTPUT_NODE = True
17+ CATEGORY = "utils"
18+
19+ def process (self ):
20+ return ()
21+
22+ # 注册节点
23+ NODE_CLASS_MAPPINGS = {
24+ "ErrorFixer" : ErrorFixerNode
25+ }
26+
27+ NODE_DISPLAY_NAME_MAPPINGS = {
28+ "ErrorFixer" : "🔧 Error Fixer"
29+ }
You can’t perform that action at this time.
0 commit comments