feat(metadata): enhance model processing with CivitAI metadata checks and new fields for archive DB status

This commit is contained in:
Will Miao
2025-09-19 23:22:47 +08:00
parent f3544b3471
commit 3053b13fcb
4 changed files with 33 additions and 36 deletions

View File

@@ -24,6 +24,8 @@ class BaseModelMetadata:
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
db_checked: bool = False # Whether checked in archive DB
last_checked_at: float = 0 # Last checked timestamp
_unknown_fields: Dict[str, Any] = field(default_factory=dict, repr=False, compare=False) # Store unknown fields
def __post_init__(self):