feat: add model exclusion functionality with new API endpoints and metadata handling

This commit is contained in:
Will Miao
2025-05-02 22:36:50 +08:00
parent 6ac78156ac
commit ec1c92a714
5 changed files with 89 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ class BaseModelMetadata:
modelDescription: str = "" # Full model description
civitai_deleted: bool = False # Whether deleted from Civitai
favorite: bool = False # Whether the model is a favorite
exclude: bool = False # Whether to exclude this model from the cache
def __post_init__(self):
# Initialize empty lists to avoid mutable default parameter issue