feat: Update filter_civitai_data to include 'id' and 'modelId' fields for improved data retrieval

This commit is contained in:
Will Miao
2025-08-28 15:21:04 +08:00
parent a4074c93bc
commit e90ba31784

View File

@@ -234,7 +234,7 @@ class ModelRouteUtils:
if not data:
return {}
fields = ["name", "trainedWords"] if minimal else [
fields = ["id", "modelId", "name", "trainedWords"] if minimal else [
"id", "modelId", "name", "createdAt", "updatedAt",
"publishedAt", "trainedWords", "baseModel", "description",
"model", "images", "customImages", "creator"