Will Miao
3d98572a62
feat: improve civitai data handling and type safety, fixes #565
...
- Replace setdefault with get and explicit dict initialization in MetadataUpdater
- Change civitai field type from Optional[Dict] to Dict[str, Any] with default_factory
- Add None check and dict initialization in BaseModelMetadata.__post_init__
- Ensures civitai data is always a dictionary, preventing type errors and improving code reliability
2025-10-14 16:03:33 +08:00
Will Miao
c9a65c7347
feat(metadata): implement model data hydration and enhance metadata handling across services, fixes #547
2025-10-09 22:15:07 +08:00
pixelpaws
a232997a79
fix(utils): respect metadata sync overrides
2025-10-08 15:52:15 +08:00
pixelpaws
08a449db99
fix(metadata): refresh metadata sync settings
2025-10-08 10:38:05 +08:00
pixelpaws
0ad92d00b3
fix(settings): restore legacy settings aliases
2025-10-08 09:54:36 +08:00
pixelpaws
c53fa8692b
refactor(settings): lazily initialize manager
2025-10-08 08:56:57 +08:00
Will Miao
77bbf85b52
feat(persistent-cache): implement SQLite-based persistent model cache with loading and saving functionality
2025-10-03 11:00:51 +08:00
pixelpaws
679cfb5c69
refactor(example-images): encapsulate download manager state
2025-09-23 13:07:11 +08:00
Will Miao
c3b9c73541
refactor: remove ModelRouteUtils usage and implement filtering directly in services
2025-09-22 09:09:40 +08:00
pixelpaws
21772feadd
refactor(routes): extract route utilities into services
2025-09-21 23:34:46 +08:00
Will Miao
a8d7070832
feat(civitai): enhance metadata fetching with error handling and cache validation
2025-09-20 21:35:34 +08:00
Will Miao
e986fbb5fb
refactor: Streamline progress file handling and enhance metadata extraction for images
2025-06-19 18:12:16 +08:00
Will Miao
3c047bee58
Refactor example images handling by introducing migration logic, updating metadata structure, and enhancing image loading in the UI
2025-06-18 17:14:49 +08:00
Will Miao
022c6c157a
Refactor example images code
2025-06-18 09:28:00 +08:00