- 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
- 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
- Updated all references to use 'HF token' instead of 'API Key'
- Clarified that token is only for private repositories
- Updated environment variable name to HUGGINGFACE_TOKEN
- More accurate documentation of token purpose
- Added get_model_version_info() method for compatibility
- Added 'url' field to download_info for ChunkDownloader
- This should fix both the AttributeError and 'Invalid URL None' errors
- Downloads should now work properly with huggingface_hub fallback
- Added huggingface_hub import with fallback
- Enhanced download_file() to use official library when available
- Better error handling and retry logic
- More robust than manual HTTP requests
- Falls back to manual download if library not available
This should solve many download issues we encountered!
- Implemented Meilisearch API integration
- Added proper filters for types, base models, NSFW
- Added sorting options (Most Downloaded, etc.)
- Fixed search functionality that was not working
- Search should now work properly in the UI
- Converted CivitaiAPI to HuggingFaceAPI
- Updated all references from civitai to huggingface
- Renamed web files (CSS/JS)
- Implemented core HF API methods:
* search_models()
* get_model_info()
* get_model_files()
* download_file()
- Clean API structure for HuggingFace integration
Next: Update server routes and helpers for HF endpoints