mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
* feat(model_manager): add missing models filter to Model Manager Adds the ability to view and manage orphaned model database entries where the underlying files have been deleted externally. Changes: - Add GET /v2/models/missing API endpoint to list models with missing files - Add "Missing Files" filter option to Model Manager type filter dropdown - Display "Missing Files" badge on models with missing files in the list - Automatically exclude missing models from model selection dropdowns to prevent users from selecting unavailable models for generation * fix(ui): enable Select All checkbox for missing models filter The Select All checkbox was disabled when the missing models filter was active because the bulk actions component didn't use the missing models query data. Now it correctly uses useGetMissingModelsQuery when the filter is set to 'missing'. * test(model_manager): add tests for missing model detection and bulk delete Tests _scan_for_missing_models and the unregister/delete workflow for models whose files have been removed externally. * Chore Ruff check