Files
FranckyB-ComfyUI-Prompt-Man…/__init__.py
T
THE_BEAST\me a7bdec56d3 - **Prompt Model Loader Improvements**
- Added GGUF model support via runtime detection of [ComfyUI-GGUF](https://github.com/city96/ComfyUI-GGUF) extension
  - Visual model type badge (Checkpoint/Diffusion/GGUF/NOT FOUND) and model name displayed on the node
  - CLIP and VAE output slots automatically hidden for non-checkpoint models
  - State persistence: model info and output slot visibility survive tab switches and workflow reloads
  - Graceful error handling: shows red "NOT FOUND" badge instead of crashing on missing models
  - Searches `unet_gguf` folder paths registered by ComfyUI-GGUF
2026-04-06 21:58:36 -04:00

39 lines
1.3 KiB
Python

"""
ComfyUI Prompt Manager - A simple custom node for saving and reusing prompts
A prompt management system for ComfyUI with LLM input support
"""
__version__ = "1.22.1"
__author__ = "François Beaudry"
__license__ = "MIT"
from .nodes.prompt_manager import PromptManager
from .nodes.prompt_manager_advanced import PromptManagerAdvanced
from .nodes.prompt_generator import PromptGenerator
from .nodes.prompt_generator_options import PromptGenOptions
from .nodes.prompt_extractor import PromptExtractor
from .nodes.prompt_model_loader import PromptModelLoader
NODE_CLASS_MAPPINGS = {
"PromptManager": PromptManager,
"PromptManagerAdvanced": PromptManagerAdvanced,
"PromptGenerator": PromptGenerator,
"PromptGenOptions": PromptGenOptions,
"PromptExtractor": PromptExtractor,
"PromptModelLoader": PromptModelLoader,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"PromptManager": "Prompt Manager",
"PromptManagerAdvanced": "Prompt Manager Advanced",
"PromptGenerator": "Prompt Generator",
"PromptGenOptions": "Prompt Generator Options",
"PromptExtractor": "Prompt Extractor",
"PromptModelLoader": "Prompt Model Loader",
}
WEB_DIRECTORY = "./js"
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
print("[PromptManager] Node registered successfully")