Skip to content

Conversation

@BAIKEMARK
Copy link
Owner

This pull request introduces version 4.0.1 of the Civitai Toolkit, focusing on major performance improvements for users with large model libraries and enhanced stability. The most important changes include moving model scanning and info fetching to background asynchronous processes, adding progress persistence to resume interrupted scans, updating UI components to reflect scan status, and providing real-time notifications via WebSocket and toast messages. These updates ensure ComfyUI starts instantly and remains responsive, even with hundreds of models.

Performance and Stability Improvements

  • Model hashing and Civitai info fetching now run asynchronously in the background, allowing ComfyUI to start instantly regardless of the number of models. [1] [2] [3] [4] [5]
  • Added progress persistence so that if ComfyUI is closed or crashes during hashing/syncing, it resumes from the last saved state instead of starting over. [1] [2] [3]

Backend and API Enhancements

  • Introduced new API endpoints and WebSocket handlers to report scan status and send real-time updates to the frontend, including thread-safe message dispatching from background threads.
  • Refactored model list retrieval to use cached database results, reducing startup bottlenecks.

Frontend UI Updates

  • Updated the local manager UI to check scan status, display progress messages, and auto-refresh when background scans complete. [1] [2]
  • Added toast notification support to inform users when scans start, complete, or fail, using ComfyUI's extension manager.

Version and Documentation Updates

  • Bumped version to 4.0.1 in all relevant files and updated changelogs in both English and Chinese to reflect the new features and fixes. [1] [2] [3] [4] [5] [6]

@BAIKEMARK BAIKEMARK merged commit ce4cad0 into main Oct 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants