Will Miao
e2191ab4b4
Refactor recipe metadata processing in RecipeRoutes
...
- Introduced a new RecipeParserFactory to streamline the parsing of recipe metadata from user comments, supporting multiple formats.
- Removed legacy metadata extraction logic from RecipeRoutes, delegating responsibilities to the new parser classes.
- Enhanced error handling for cases where no valid parser is found, ensuring graceful responses.
- Updated the RecipeScanner to improve the handling of LoRA metadata and reduce logging verbosity for better performance.
2025-03-18 18:54:22 +08:00
Will Miao
3f38764a0e
Add filter-related endpoints to RecipeRoutes for top tags and base models. Enhance get_paginated_data method in RecipeScanner to support filtering by base model and tags. Implement logic to retrieve and count occurrences of top tags and base models from cached recipes.
2025-03-16 21:21:00 +08:00
Will Miao
3338c17e8f
Refactor recipe processing in RecipeRoutes to enhance LoRA handling. Introduce base model counting logic to determine the most common base model from LoRAs, and streamline the collection of LoRA metadata. Remove outdated metadata update method from RecipeScanner to improve code clarity and maintainability.
2025-03-16 18:56:27 +08:00
Will Miao
406284a045
checkpoint
2025-03-16 16:56:33 +08:00
Will Miao
edd36427ac
Refactor recipe management to enhance initialization and metadata handling. Improve error logging during cache pre-warming, streamline recipe data structure, and ensure proper handling of generation parameters. Update UI components for missing LoRAs with improved summary and toggle functionality. Add new methods for adding recipes to cache and loading recipe data from JSON files.
2025-03-15 20:08:26 +08:00
Will Miao
9a1fe19cc8
Enhance DownloadManager and LoraFileHandler to support dynamic ignore path management with expiration times. Added handling for alternative path formats and improved logging for added and removed paths.
2025-03-15 14:58:40 +08:00
Will Miao
e498c9ce29
Normalize SHA256 hash handling by converting to lowercase in LoraScanner and LoraMetadata classes for consistency.
2025-03-15 07:25:00 +08:00
Will Miao
9bb4d7078e
checkpoint
2025-03-15 05:29:25 +08:00
Will Miao
004c203ef2
Merge branch 'main' into dev
2025-03-13 11:45:43 +08:00
Will Miao
e992ace11c
Add NSFW browse control functionality - Done
2025-03-12 22:21:30 +08:00
Will Miao
0cad6b5cbc
Add nsfw browse control part 1
2025-03-12 21:06:31 +08:00
Will Miao
e9a703451c
Fix the problem of repeatedly trying to fetch model description metadata when the model has a null description.
2025-03-12 15:25:58 +08:00
Will Miao
03ddd51a91
Fetch and update model metadata including tags and description in ApiRoutes and DownloadManager
2025-03-12 14:50:06 +08:00
Will Miao
9142cc4cde
Enhance CivitaiClient to return HTTP status code with model metadata; update LoraScanner to handle deleted models
2025-03-12 11:18:19 +08:00
Will Miao
8e5e16ce68
Refactor logging and update badge visibility in UpdateService; improve path normalization in file_utils
2025-03-12 10:06:15 +08:00
Will Miao
2783782669
Add search options panel and functionality for filename, model name, and tags
2025-03-10 19:33:45 +08:00
Will Miao
721bef3ff8
Add tag filtering checkpoint
2025-03-10 13:18:56 +08:00
Will Miao
0069f84630
Add model description in lora details
2025-03-10 00:20:31 +08:00
Will Miao
250e8445bb
checkpoint
2025-03-09 12:29:24 +08:00
Will Miao
e6aafe8773
Add recipes checkpoint
2025-03-08 23:10:24 +08:00
Will Miao
69b1773ced
Add inline model name editing with validation and resortable cache
2025-03-07 10:32:27 +08:00
Will Miao
c9c86d8c0f
Add local availability check for Civitai model versions; enhance download manager UI to indicate local status
2025-03-06 20:45:09 +08:00
Will Miao
f614dbf700
Add filters - base model only for now
2025-03-05 19:53:52 +08:00
Will Miao
a38757fee6
Refactor progress reporting in DownloadManager and improve selection logic in MoveManager
2025-03-03 18:51:35 +08:00
Will Miao
61dc766075
Add environment variable checks to settings manager
2025-02-27 08:14:11 +08:00
Will Miao
561e32a980
Fix getting stuck when loras folder is empty
2025-02-27 06:52:19 +08:00
Will Miao
cc09fe7525
Fix setting path
2025-02-24 21:36:46 +08:00
Will Miao
2d72044d66
Reorganize python files
2025-02-24 20:41:16 +08:00