- Fix relative import issue in __init__.py with fallback - Add robust error handling for missing dependencies - Add test scripts to verify syntax and structure - Ensure graceful degradation when dependencies missing - All syntax tests pass - structure is correct
19 lines
578 B
Python
19 lines
578 B
Python
"""
|
|
ComfyUI-Ninode-Utils: Utility Nodes for ComfyUI
|
|
A collection of utility nodes including OpenAI Compatible Chat
|
|
"""
|
|
|
|
__version__ = "0.9.2"
|
|
__author__ = "iGavroche"
|
|
__email__ = "nino2k@proton.me"
|
|
__description__ = "Utility nodes for ComfyUI including OpenAI Compatible Chat"
|
|
|
|
try:
|
|
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
except ImportError:
|
|
# Fallback for when running as standalone module
|
|
from nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', '__version__']
|
|
|