Updated link_model() and verify_model_links() functions to extract target directories directly from dest paths instead of using separate model_type parameter. Key changes: - link_model() now parses dest paths (e.g., "checkpoints/model.safetensors") to determine target directories dynamically - verify_model_links() updated to work with dest paths containing directory info - Removed model_type parameter from both function signatures and all callers - Support for models with files in multiple ComfyUI subdirectories - Updated display output to remove model_type from status messages This simplifies the script by eliminating redundant type information, as the directory structure is now embedded in the dest paths within the YAML file. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
59 KiB
Executable File
59 KiB
Executable File