- Remove disabled attribute from connections input
- Update default connections from 1 to 4 for better performance
- Fix help text to explain connection functionality
- Allow users to configure parallel connections (1-16)
- Enable multi-connection downloads in settings panel
- Remove forced single connection override in ChunkDownloader
- Allow user to choose connection type from Settings
- Fix num_connections parameter to work as intended
- Enable multi-connection downloads for faster speeds
- Remove hardcoded HF single connection limitation
- Extract base repository ID from full paths (remove /tree/main, /blob/main, /raw/)
- Update View button to use baseRepoId instead of full modelId path
- Update all download buttons to use baseRepoId for proper API calls
- Support complex HuggingFace paths like 'user/repo/tree/main/file'
- Ensure compatibility with models from Civitai and other sources
- Fix issue where search couldn't handle repository sub-paths
- Remove disabled attribute from download buttons when versionId is missing
- Allow downloading latest version when no specific version is available
- Update button title to show 'Download latest version' for clarity
- Relax validation to only require modelId, not versionId
- Fix issue where search results couldn't trigger downloads
- Fix View button links: remove /models/ prefix for direct repository URLs
- Add missing data attributes (creator, modelName) to download buttons
- Update event listener to read all button data for proper form pre-filling
- Auto-suggest filename from model name with proper sanitization
- Improve feedback message to show model name and creator
- Ensure download buttons work correctly from search results
- Changed from Italian badge to English badge for consistency
- Badge now shows 'English-🇬🇧-blue' pointing to README.md
- Maintains proper bidirectional linking between README files
- Simplified badge text from 'Language-🇮🇹-Italian-red' to 'Italian-🇮🇹-red'
- Ensures proper badge rendering and visibility
- Maintains link to README_IT.md
- Restore English README.md as main documentation
- Create README_IT.md for Italian documentation
- Add language badges to both files for easy switching
- Professional bilingual documentation setup
- Link between English and Italian versions
- Complete rewrite with all features documented
- Add professional badges (Python, License, ComfyUI, HuggingFace)
- Italian translation for better accessibility
- Detailed feature descriptions with emojis
- Technical implementation details
- Migration guide from Civicomfy
- Installation and usage instructions
- API endpoints documentation
- Contributing guidelines and requirements
- HfApi doesn't have search_models method
- Use list_models instead with search parameter
- Fix 'HfApi' object has no attribute 'search_models' error
- Update parameter names to match list_models API
- Add try/catch around API info calls
- Try ModelCard first, then API fallback, then minimal info
- Better error messages and logging
- Prevent complete failure when one method fails
- Always return some model info instead of errors
- Change red error text to neutral gray color
- Replace 'Failed to get details' with 'Model details not available'
- Change console.error to console.info for missing details
- Prevent users from seeing scary error messages
- Better user experience for models without details
- Detect if URL contains specific file or entire repo
- Use hf_hub_download for single files with filename
- Use snapshot_download for entire repo downloads
- Fix single file downloads to use correct huggingface_hub function
- Extract just namespace/repo_name from full URL
- Handle both URL and plain repo_id formats
- Fix HFValidationError for invalid repo_id format
- Support proper snapshot_download usage
- Don't set downloader_instance for repo downloads
- Skip downloader.download() call for repo downloads
- Repo downloads already completed with snapshot_download
- Fix error where repo downloads tried to use ChunkDownloader
- Remove complex API wrapper for repo downloads
- Use huggingface_hub snapshot_download directly
- Much simpler and more reliable approach
- Just pass repo_id and local_dir to snapshot_download
- Add special handling for url=None (repo downloads)
- Use huggingface_hub directly for entire repo downloads
- Prevent ChunkDownloader from receiving None URL
- Fix 'Invalid URL None' error for diffusers models
- Support both file and repository downloads
- Change from .utils to ..utils for resolve_huggingface_api_key
- utils.py is directly in server/ not in server/utils/
- Fix 'No module named server.routes.utils' error
- Restore button functionality
- Change from ..utils to .utils for resolve_huggingface_api_key
- Fix import errors that were breaking extension
- All routes now import from correct location
- Restore button functionality
- Add try/except for relative imports
- Fallback to absolute imports for testing
- Fix import errors that were breaking the extension
- Restore button functionality
- Set nsfw=True as default value
- Users don't need to enable it every time
- Can still be disabled by setting nsfw=false
- Better user experience for model discovery
- Remove complex Civitai-style logic
- Use huggingface_hub ModelCard to read model cards
- Extract base_model, tags, license from YAML frontmatter
- Get description from model card text
- Much cleaner and more accurate for HuggingFace models
- Use HuggingFace API to get popular base models
- Add common base models like SDXL, SD1.5, FLUX
- Keep hardcoded list as fallback
- Better base model filtering for search
- Don't construct URL when target_filename is None
- Let huggingface_hub handle repo downloads
- Prevent 404 errors with resolve/main/None
- Better handling for repo vs file downloads
- Add proper handling for target_filename = None
- Use model name as folder name for repo downloads
- Prevent TypeError when os.path.basename(None)
- Better logic for repo vs file downloads
- Remove all API REST calls from get_model_info and get_model_files
- Remove CLI fallback from download_file
- Use only huggingface_hub for everything
- Add snapshot_download support for entire repos
- Remove deprecated local_dir_use_symlinks parameter
- Much cleaner and more reliable approach
- Add huggingface_hub>=0.20.0 dependency
- Add requests>=2.25.0 dependency
- This ensures huggingface_hub is installed with the extension
- ComfyUI will automatically install these dependencies
- Skip API calls for public repos entirely
- Use API only for private repos to get model info
- Always use huggingface_hub for downloads
- Let huggingface_hub auto-detect files
- Much cleaner and more reliable approach
- Remove --local-dir-use-symlinks False from CLI command
- This parameter is deprecated in huggingface_hub
- Simplified CLI command for better compatibility
- Should work with latest huggingface_hub version
- Try diffusion_models first as user confirmed it exists in ComfyUI
- Added proper fallback chain: diffusion_models -> unet -> checkpoints
- This should correctly use the diffusion_models folder
- Better folder mapping for ComfyUI structure
- Changed fallback logic to use unet for diffusion_models
- diffusion_models doesn't exist in ComfyUI, unet is the correct folder
- This ensures Wan 2.2 models go to unet folder
- Better integration with ComfyUI's actual folder structure
- Added full_item logging to see all available fields
- Added final modelName logging to see what gets displayed
- This will help identify why model name isn't showing despite backend working
- More detailed debugging to track the data flow
- ComfyUI automatically adds /api/ prefix to routes
- Frontend was calling /api/huggingface/ which became /api/api/huggingface/
- Changed back to /huggingface/ to let ComfyUI handle the prefix
- This should fix 404 errors for all endpoints
- Added explicit default None for huggingface_model_name when missing
- This ensures the field exists in the download item
- Frontend should now receive the field even if initially missing
- Better handling of missing fields in download_info
- When HF API fails to find model info, use parsed name from model_id
- Added debug output for fallback path
- This handles cases where HF models don't have proper model cards
- Ensures model name is always available even for obscure models
- Updated all HuggingFace routes to use /api/huggingface/ prefix
- This fixes 405 Method Not Allowed errors for all endpoints
- Frontend and backend paths now match consistently
- All API calls should work correctly now
- Changed route from /huggingface/get_model_details to /api/huggingface/get_model_details
- This fixes the 405 Method Not Allowed error
- Frontend was calling /api/ but route was registered without /api/
- Now frontend and backend paths match
- Added /api/ prefix to all HuggingFace API endpoints
- ComfyUI serves routes with /api/ prefix
- This should fix 404 errors for get_model_details and other endpoints
- All API calls should now work correctly
- Added huggingface_model_name to required_for_retry list
- Manager was not copying this field from download_info
- This should fix the model name display in frontend
- Frontend should now receive the correct model name
- Added debug output for direct download path
- Shows when model name is extracted from model_id
- Helps identify why model name might not be set correctly
- More comprehensive debugging for direct download scenario
- Added console.log to show what frontend receives from backend
- Will display huggingface_model_name, model_name, model, version_name
- Helps identify if frontend receives correct data
- Debug in browser console for frontend issues
- Added debug output for response data huggingface_model_name
- Will show what name is being sent to frontend
- Helps identify if frontend receives the correct model name
- More comprehensive debugging for model name issue
- Added JSON parsing for model_info when it's a string
- Backend was sending model_info as JSON string instead of dict
- Now correctly extracts 'name' field from parsed JSON
- This should fix the model name display issue